commit | b9aae0f8562da16955270d48a6a4bea908861fc2 | [log] [tgz] |
---|---|---|
author | Jeff Bolz <jbolz@nvidia.com> | Tue Nov 20 10:00:45 2018 -0600 |
committer | Alexander Galazin <alexander.galazin@arm.com> | Mon Nov 26 12:59:34 2018 +0100 |
tree | 32fb469f894423da5ccb929611d98df408ed8fa3 | |
parent | 123de98482b779ca242f9498701508b12e9a5f01 [diff] |
Fix pointer storage class for spirv_assembly tessellation tests. This was a new validation rule in https://github.com/KhronosGroup/SPIRV-Tools/commit/d7cd1203a42b850e38a42e3606b22f810f671a90. Errors look like: Validation FAILED: From SPIR-V spec, section 3.32.8 on OpVariable: Its Storage Class operand must be the same as the Storage Class operand of the result type. %gl_PrimitiveID = OpVariable %_ptr_Output_int Input Also update to latest spirv-tools. Components: Vulkan Affects: dEQP-VK.spirv_assembly.* Change-Id: I14a10b936da36ddc572551b1bf5fc3c837a79fb8
diff --git a/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmGraphicsShaderTestUtil.cpp b/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmGraphicsShaderTestUtil.cpp index 2d98125..8d09c01 100644 --- a/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmGraphicsShaderTestUtil.cpp +++ b/external/vulkancts/modules/vulkan/spirv_assembly/vktSpvAsmGraphicsShaderTestUtil.cpp
@@ -745,7 +745,7 @@ "%BP_op_gl_PerVertexOut = OpTypePointer Output %BP_gl_PerVertexOut\n" "%BP_stream = OpVariable %BP_op_gl_PerVertexOut Output\n" "%BP_gl_TessCoord = OpVariable %ip_v3f32 Input\n" - "%BP_gl_PrimitiveID = OpVariable %op_i32 Input\n" + "%BP_gl_PrimitiveID = OpVariable %ip_i32 Input\n" "%BP_gl_PerVertexIn = OpTypeStruct %v4f32 %f32 %a1f32 %a1f32\n" "%BP_a32_gl_PerVertexIn = OpTypeArray %BP_gl_PerVertexIn %c_u32_32\n" "%BP_ip_a32_gl_PerVertexIn = OpTypePointer Input %BP_a32_gl_PerVertexIn\n"