33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
; SPIR-V
|
|
; Version: 1.3
|
|
; Generator: Google Tint Compiler; 0
|
|
; Bound: 14
|
|
; Schema: 0
|
|
OpCapability Shader
|
|
OpMemoryModel Logical GLSL450
|
|
OpEntryPoint Fragment %main "main"
|
|
OpExecutionMode %main OriginUpperLeft
|
|
OpName %myconst "myconst"
|
|
OpName %x_100 "x_100"
|
|
OpName %main_1 "main_1"
|
|
OpName %main "main"
|
|
%float = OpTypeFloat 32
|
|
%myconst = OpConstant %float 2.5
|
|
%3 = OpTypeFunction %float
|
|
%void = OpTypeVoid
|
|
%7 = OpTypeFunction %void
|
|
%x_100 = OpFunction %float None %3
|
|
%5 = OpLabel
|
|
%6 = OpFAdd %float %myconst %myconst
|
|
OpReturnValue %6
|
|
OpFunctionEnd
|
|
%main_1 = OpFunction %void None %7
|
|
%10 = OpLabel
|
|
OpReturn
|
|
OpFunctionEnd
|
|
%main = OpFunction %void None %7
|
|
%12 = OpLabel
|
|
%13 = OpFunctionCall %void %main_1
|
|
OpReturn
|
|
OpFunctionEnd
|