Fix SPV return type of rayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetEXT (#2484)
Issue #2483 According to GLSL spec the prototype is: uint rayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetEXT(rayQueryEXT q, bool committed); but that was incorrectly getting translated to SPIRV as an `int`, and this was causing SPIR-V validation errors when used. Added explicit testing for the return types of all the builtin functions in GL_EXT_ray_query
This commit is contained in:
@@ -221,7 +221,7 @@ rayQuery-allOps.frag
|
||||
129: 2 FunctionCall 6(doSomething()
|
||||
Branch 128
|
||||
128: Label
|
||||
130: 18(int) RayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR 47(rayQuery) 23
|
||||
130: 14(int) RayQueryGetIntersectionInstanceShaderBindingTableRecordOffsetKHR 47(rayQuery) 23
|
||||
131: 66(bool) UGreaterThan 130 20
|
||||
SelectionMerge 133 None
|
||||
BranchConditional 131 132 133
|
||||
|
||||
Reference in New Issue
Block a user