xref: /aosp_15_r20/external/skia/tests/sksl/shared/Ossfuzz36770.hlsl (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1### Compilation failed:
2
3error: SPIR-V validation error: [VUID-StandaloneSpirv-Location-04919] Member index 0 is missing a location assignment
4  %T = 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 %T "T"
12               OpMemberName %T 0 "x"
13               OpName %main "main"
14               OpMemberDecorate %T 0 Offset 0
15               OpDecorate %T Block
16        %int = OpTypeInt 32 1
17          %T = OpTypeStruct %int
18%_ptr_Input_T = OpTypePointer Input %T
19          %3 = OpVariable %_ptr_Input_T 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