028586238e
Change-Id: I800fa2a1fb0e64ad478c76ea2d5cda176ea8f48b Reviewed-on: https://skia-review.googlesource.com/c/skia/+/529746 Auto-Submit: Brian Osman <brianosman@google.com> Reviewed-by: John Stiles <johnstiles@google.com> Commit-Queue: John Stiles <johnstiles@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
33 lines
893 B
JavaScript
33 lines
893 B
JavaScript
### Compilation failed:
|
|
|
|
error: SPIR-V validation error: [VUID-StandaloneSpirv-Location-04919] Member index 0 is missing a location assignment
|
|
%T = OpTypeStruct %int
|
|
|
|
OpCapability Shader
|
|
%1 = OpExtInstImport "GLSL.std.450"
|
|
OpMemoryModel Logical GLSL450
|
|
OpEntryPoint Fragment %main "main" %3 %sk_Clockwise
|
|
OpExecutionMode %main OriginUpperLeft
|
|
OpName %T "T"
|
|
OpMemberName %T 0 "x"
|
|
OpName %sk_Clockwise "sk_Clockwise"
|
|
OpName %main "main"
|
|
OpMemberDecorate %T 0 Offset 0
|
|
OpDecorate %T Block
|
|
OpDecorate %sk_Clockwise BuiltIn FrontFacing
|
|
%int = OpTypeInt 32 1
|
|
%T = OpTypeStruct %int
|
|
%_ptr_Input_T = OpTypePointer Input %T
|
|
%3 = OpVariable %_ptr_Input_T Input
|
|
%bool = OpTypeBool
|
|
%_ptr_Input_bool = OpTypePointer Input %bool
|
|
%sk_Clockwise = OpVariable %_ptr_Input_bool Input
|
|
%void = OpTypeVoid
|
|
%11 = OpTypeFunction %void
|
|
%main = OpFunction %void None %11
|
|
%12 = OpLabel
|
|
OpReturn
|
|
OpFunctionEnd
|
|
|
|
1 error
|