forked from itycodes/shaderc
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
440 B
13 lines
440 B
OpCapability Shader
|
|
OpMemoryModel Logical GLSL450
|
|
OpEntryPoint Fragment %main "main" %frag_coord %out_color
|
|
OpExecutionMode %main OriginUpperLeft
|
|
%f32 = OpTypeFloat 32
|
|
%v4f32 = OpTypeVector %f32 4
|
|
%pv4f32i = OpTypePointer Input %v4f32
|
|
%frag_coord = OpVariable %pv4f32i Input
|
|
OpDecorate %frag_coord BuiltIn FragCoord
|
|
%pv4f32o = OpTypePointer Output %v4f32
|
|
%out_color = OpVariable %pv4f32o Output
|
|
OpDecorate %out_color Location 0
|