• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1### Compilation failed:
2
3error: SPIR-V validation error: [VUID-StandaloneSpirv-Location-04919] Member index 0 is missing a location assignment
4  %s = OpTypeStruct %int
5
6               OpCapability Shader
7          %1 = OpExtInstImport "GLSL.std.450"
8               OpMemoryModel Logical GLSL450
9               OpEntryPoint Fragment %main "main" %3
10               OpExecutionMode %main OriginUpperLeft
11               OpName %s "s"
12               OpMemberName %s 0 "I"
13               OpName %main "main"
14               OpMemberDecorate %s 0 Offset 0
15               OpDecorate %s Block
16        %int = OpTypeInt 32 1
17          %s = OpTypeStruct %int
18%_ptr_Input_s = OpTypePointer Input %s
19          %3 = OpVariable %_ptr_Input_s Input
20       %void = OpTypeVoid
21          %8 = OpTypeFunction %void
22       %main = OpFunction %void None %8
23          %9 = OpLabel
24               OpReturn
25               OpFunctionEnd
26
271 error
28