26 lines
1.0 KiB
Plaintext
26 lines
1.0 KiB
Plaintext
OpCapability Shader
|
|
%1 = OpExtInstImport "GLSL.std.450"
|
|
OpMemoryModel Logical GLSL450
|
|
OpEntryPoint Fragment %main "main" %color_out %color_in
|
|
OpExecutionMode %main OriginUpperLeft
|
|
OpSource GLSL 430
|
|
OpName %main "main"
|
|
OpName %color_out "color_out"
|
|
OpName %color_in "color_in"
|
|
OpDecorate %color_out Location 0
|
|
OpDecorate %color_in Location 0
|
|
%void = OpTypeVoid
|
|
%6 = OpTypeFunction %void
|
|
%float = OpTypeFloat 32
|
|
%v4float = OpTypeVector %float 4
|
|
%_ptr_Output_v4float = OpTypePointer Output %v4float
|
|
%color_out = OpVariable %_ptr_Output_v4float Output
|
|
%_ptr_Input_v4float = OpTypePointer Input %v4float
|
|
%color_in = OpVariable %_ptr_Input_v4float Input
|
|
%main = OpFunction %void None %6
|
|
%11 = OpLabel
|
|
%12 = OpLoad %v4float %color_in
|
|
OpStore %color_out %12
|
|
OpReturn
|
|
OpFunctionEnd
|