According to the SPIR-V specification[1], PhysicalStorageBuffer storage
class can only be used iff addressing model is PhysicalStorageBuffer64.
[1]: https://www.khronos.org/registry/SPIR-V/specs/unified1/SPIRV.html#_addressing_model
Paths
| Differential D127067
[mlir][spirv] Correctly deduce PhysicalStorageBuffer64 addressing model ClosedPublic Authored by alexbatashev on Jun 5 2022, 1:42 AM.
Details Summary According to the SPIR-V specification[1], PhysicalStorageBuffer storage [1]: https://www.khronos.org/registry/SPIR-V/specs/unified1/SPIRV.html#_addressing_model
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 6 2022, 11:26 AM Closed by commit rG8324561e33b4: [mlir][spirv] Correctly deduce PhysicalStorageBuffer64 addressing model (authored by alexbatashev). · Explain WhyJun 7 2022, 2:14 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 434742 mlir/lib/Dialect/SPIRV/IR/TargetAndABI.cpp
mlir/test/Dialect/SPIRV/Transforms/vce-deduction.mlir
|