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"
This commit is contained in:
Daniel Koch
2020-11-24 23:06:16 -05:00
committed by GitHub
parent ffccefddfd
commit 4d41da3b81
14 changed files with 145 additions and 9 deletions

View File

@@ -57,7 +57,7 @@ rayQuery-no-cse.rgen
3: TypeFunction 2
6: TypeInt 32 0
7: TypeFunction 6(int)
10: TypeRayQueryProvisionalKHR
10: TypeRayQueryKHR
11: TypePointer Private 10
12: TypeFloat 32
13: TypeVector 12(float) 3