Modify testing to only record validation pass/fail
* Changed unit tests to only record known the validation pass/fail status * errors are output as part of the failure message if the result is unexpected * can turn off validation for each test individually * Moved some SPV_KHR_vulkan_memory_model tests to be compiled for Vulkan 1.1
This commit is contained in:
@@ -1,10 +1,5 @@
|
||||
spv.functionNestedOpaque.vert
|
||||
error: SPIRV-Tools Validation Errors
|
||||
error: UniformConstant OpVariable <id> '36[si] 'has illegal type.
|
||||
From Vulkan spec, section 14.5.2:
|
||||
Variables identified with the UniformConstant storage class are used only as handles to refer to opaque resources. Such variables must be typed as OpTypeImage, OpTypeSampler, OpTypeSampledImage, OpTypeAccelerationStructureNV, or an array of one of these types.
|
||||
%si = OpVariable %_ptr_UniformConstant_S UniformConstant
|
||||
|
||||
Validation failed
|
||||
// Module Version 10000
|
||||
// Generated by (magic number): 80007
|
||||
// Id's are bound by 39
|
||||
|
||||
Reference in New Issue
Block a user