• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1### Compilation failed:
2
3error: SPIR-V validation error: Member index 0 is missing a location assignment
4  %T = OpTypeStruct %int %v2float
5
6OpCapability Shader
7%1 = OpExtInstImport "GLSL.std.450"
8OpMemoryModel Logical GLSL450
9OpEntryPoint Fragment %main "main" %4 %sk_Clockwise
10OpExecutionMode %main OriginUpperLeft
11OpName %T "T"
12OpMemberName %T 0 "x"
13OpMemberName %T 1 "u_skRTFlip"
14OpName %sk_Clockwise "sk_Clockwise"
15OpName %main "main"
16OpMemberDecorate %T 0 Offset 0
17OpMemberDecorate %T 1 Offset 16384
18OpDecorate %T Block
19OpDecorate %sk_Clockwise BuiltIn FrontFacing
20%int = OpTypeInt 32 1
21%float = OpTypeFloat 32
22%v2float = OpTypeVector %float 2
23%T = OpTypeStruct %int %v2float
24%_ptr_Input_T = OpTypePointer Input %T
25%4 = OpVariable %_ptr_Input_T Input
26%bool = OpTypeBool
27%_ptr_Input_bool = OpTypePointer Input %bool
28%sk_Clockwise = OpVariable %_ptr_Input_bool Input
29%void = OpTypeVoid
30%14 = OpTypeFunction %void
31%main = OpFunction %void None %14
32%15 = OpLabel
33OpReturn
34OpFunctionEnd
35
361 error
37