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" %_GLF_color %frag_color
|
||
|
OpExecutionMode %main OriginUpperLeft
|
||
|
OpSource ESSL 310
|
||
|
OpName %main "main"
|
||
|
OpName %_GLF_color "_GLF_color"
|
||
|
OpName %frag_color "frag_color"
|
||
|
OpDecorate %_GLF_color Location 0
|
||
|
OpDecorate %frag_color Location 0
|
||
|
%void = OpTypeVoid
|
||
|
%6 = OpTypeFunction %void
|
||
|
%float = OpTypeFloat 32
|
||
|
%v4float = OpTypeVector %float 4
|
||
|
%_ptr_Output_v4float = OpTypePointer Output %v4float
|
||
|
%_GLF_color = OpVariable %_ptr_Output_v4float Output
|
||
|
%_ptr_Input_v4float = OpTypePointer Input %v4float
|
||
|
%frag_color = OpVariable %_ptr_Input_v4float Input
|
||
|
%main = OpFunction %void None %6
|
||
|
%11 = OpLabel
|
||
|
%12 = OpLoad %v4float %frag_color
|
||
|
OpStore %_GLF_color %12
|
||
|
OpReturn
|
||
|
OpFunctionEnd
|