Add support for flat, location, and noperspective decorations in the serializer and deserializer to be able to process basic shader files for graphics applications"
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks @Hazem ! Just a few nits. Could you just name the test file as decorations.mlir to follow the terms in the spec?
mlir/test/Dialect/SPIRV/Serialization/decorators.mlir | ||
---|---|---|
4 ↗ | (On Diff #267361) | Acutally I think we should // CHECK: location = 0: i32 instead of the spv.globalVariable here given that's the purpose of the test? :) Similarly for the rest: // CHECK: no_perspective , // CHECK: flat? |
Comment Actions
- rename decorations test file and edit CHECK string values to reflect what the tests actually check