dawn-cmake/test/tint/samples/function.wgsl.expected.spvasm
Antonio Maiorano 3740ac6092 tint: implement const eval of binary divide
Bug: tint:1581
Change-Id: I72f7f34046086ad00d3bf8f21d67db831903d60b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100861
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
2022-09-03 22:42:51 +00:00

25 lines
766 B
Plaintext

; SPIR-V
; Version: 1.3
; Generator: Google Tint Compiler; 0
; Bound: 10
; Schema: 0
OpCapability Shader
OpMemoryModel Logical GLSL450
OpEntryPoint GLCompute %ep "ep"
OpExecutionMode %ep LocalSize 2 1 1
OpName %main "main"
OpName %ep "ep"
%float = OpTypeFloat 32
%1 = OpTypeFunction %float
%float_0_400000006 = OpConstant %float 0.400000006
%void = OpTypeVoid
%6 = OpTypeFunction %void
%main = OpFunction %float None %1
%4 = OpLabel
OpReturnValue %float_0_400000006
OpFunctionEnd
%ep = OpFunction %void None %6
%9 = OpLabel
OpReturn
OpFunctionEnd