Error when initializing rayQuery with assignment

This commit is contained in:
Tobias Hector
2020-09-03 15:14:14 +01:00
parent 517f39eee4
commit ed7a097d19
4 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
rayQuery-initialization.Error.comp
ERROR: 0:7: '=' : ray queries can only be initialized by using the rayQueryInitializeEXT intrinsic: bar
ERROR: 1 compilation errors. No code generated.
SPIR-V is not generated for failed compile or link

View File

@@ -0,0 +1,8 @@
#version 460
#extension GL_EXT_ray_query : enable
void main () {
rayQueryEXT foo;
rayQueryEXT bar = foo;
}