diff options
author | Patrick Mours <pmours@nvidia.com> | 2019-02-26 17:43:03 +0300 |
---|---|---|
committer | Patrick Mours <pmours@nvidia.com> | 2019-02-26 17:43:03 +0300 |
commit | da39a7b02f6e5d1f6fc19fe9102144d87f48f37a (patch) | |
tree | f7676394c55dabda0d11188fe51d60f235bc0785 /spirv_parser.cpp | |
parent | 6f50806698c2de18ba32ef4bbd953ad761a00cf2 (diff) |
Add support for SPV_NV_ray_tracing
Diffstat (limited to 'spirv_parser.cpp')
-rw-r--r-- | spirv_parser.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spirv_parser.cpp b/spirv_parser.cpp index 1725b4ca..3174f52b 100644 --- a/spirv_parser.cpp +++ b/spirv_parser.cpp @@ -645,6 +645,14 @@ void Parser::parse(const Instruction &instruction) break; } + case OpTypeAccelerationStructureNV: + { + uint32_t id = ops[0]; + auto &type = set<SPIRType>(id); + type.basetype = SPIRType::AccelerationStructureNV; + break; + } + // Variable declaration // All variables are essentially pointers with a storage qualifier. case OpVariable: |