Add ray query capability if acceleration structure or ray query types declared (...
authorDaniel Koch <dgkoch@users.noreply.github.com>
Wed, 25 Nov 2020 04:06:16 +0000 (23:06 -0500)
committerGitHub <noreply@github.com>
Wed, 25 Nov 2020 04:06:16 +0000 (21:06 -0700)
commit4d41da3b810bc11c1c8a954e516638e437360a67
treee5bb76c5dd799ce57d7850d5120b7c9fa602e7d4
parentffccefddfd9a02ec0c0b6dd04ef5e1042279c97f
Add ray query capability if acceleration structure or ray query types declared (#2469)

* Add ray query capability if acceleration structure used

Fixes #2430

in non-ray tracing stages and the extension is enabled

* Add ray query capability if ray query declared

* Fix printing of TypeRayQueryKHR

It's no longer spelled with "Provisional"
14 files changed:
SPIRV/GlslangToSpv.cpp
SPIRV/doc.cpp
Test/baseResults/rayQuery-allOps.comp.out
Test/baseResults/rayQuery-allOps.frag.out
Test/baseResults/rayQuery-allOps.rgen.out
Test/baseResults/rayQuery-global.rgen.out
Test/baseResults/rayQuery-initialize.rgen.out
Test/baseResults/rayQuery-no-cse.rgen.out
Test/baseResults/rayQuery.rgen.out
Test/baseResults/spv.ext.AccelDecl.frag.out [new file with mode: 0644]
Test/baseResults/spv.ext.RayQueryDecl.frag.out [new file with mode: 0644]
Test/spv.ext.AccelDecl.frag [new file with mode: 0644]
Test/spv.ext.RayQueryDecl.frag [new file with mode: 0644]
gtests/Spv.FromFile.cpp