blob: af26af8f11a67b7ab9e0f1a975b371ceab1882cb [file] [log] [blame] [edit]
; Test: SpvModuleScopeVarParserTest_BuiltinPointSize_Loose_Write1_IsErased.spvasm
; SPIR-V
; Version: 1.0
; Generator: Khronos SPIR-V Tools Assembler; 0
; Bound: 501
; Schema: 0
OpCapability Shader
OpMemoryModel Logical Simple
OpEntryPoint Vertex %500 "main" %gl_PointSize %gl_Position
OpDecorate %gl_Position BuiltIn Position
OpDecorate %gl_PointSize BuiltIn PointSize
%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
%_ptr_Output_float = OpTypePointer Output %float
%gl_PointSize = OpVariable %_ptr_Output_float Output
%_ptr_Output_v4float = OpTypePointer Output %v4float
%gl_Position = OpVariable %_ptr_Output_v4float Output
%_ptr_Output_float_0 = OpTypePointer Output %float
%float_1 = OpConstant %float 1
%500 = OpFunction %void None %4
%14 = OpLabel
OpStore %gl_PointSize %float_1
OpReturn
OpFunctionEnd