blob: 71c01430501def6e1bea5b4b0e9c50ab97f2e081 [file] [log] [blame]
; Test: SpvModuleScopeVarParserTest_BuiltinPointSize_ReadReplaced.spvasm
; SPIR-V
; Version: 1.0
; Generator: Khronos SPIR-V Tools Assembler; 0
; Bound: 901
; Schema: 0
OpCapability Shader
OpMemoryModel Logical Simple
OpEntryPoint Vertex %2 "main" %1
OpMemberDecorate %_struct_10 0 BuiltIn Position
OpMemberDecorate %_struct_10 1 BuiltIn PointSize
OpMemberDecorate %_struct_10 2 BuiltIn ClipDistance
OpMemberDecorate %_struct_10 3 BuiltIn CullDistance
%void = OpTypeVoid
%4 = OpTypeFunction %void
%float = OpTypeFloat 32
%v4float = OpTypeVector %float 4
%uint = OpTypeInt 32 0
%uint_0 = OpConstant %uint 0
%uint_1 = OpConstant %uint 1
%_arr_float_uint_1 = OpTypeArray %float %uint_1
%_struct_10 = OpTypeStruct %v4float %float %_arr_float_uint_1 %_arr_float_uint_1
%_ptr_Output__struct_10 = OpTypePointer Output %_struct_10
%1 = OpVariable %_ptr_Output__struct_10 Output
%_ptr_Output_float = OpTypePointer Output %float
%14 = OpConstantNull %v4float
%_ptr_Private_float = OpTypePointer Private %float
%900 = OpVariable %_ptr_Private_float Private
%2 = OpFunction %void None %4
%16 = OpLabel
%100 = OpAccessChain %_ptr_Output_float %1 %uint_1
%99 = OpLoad %float %100
OpStore %900 %99
OpReturn
OpFunctionEnd