mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-15 03:41:34 +00:00
docs/ -> docs/tint/ fuzzers/ -> src/tint/fuzzers/ samples/ -> src/tint/cmd/ src/ -> src/tint/ test/ -> test/tint/ BUG=tint:1418,tint:1433 Change-Id: Id2aa79f989aef3245b80ef4aa37a27ff16cd700b Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/80482 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
31 lines
970 B
Plaintext
31 lines
970 B
Plaintext
; SPIR-V
|
|
; Version: 1.3
|
|
; Generator: Google Tint Compiler; 0
|
|
; Bound: 16
|
|
; 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_2 = OpConstant %float 2
|
|
%float_3 = OpConstant %float 3
|
|
%float_4 = OpConstant %float 4
|
|
%float_5 = OpConstant %float 5
|
|
%void = OpTypeVoid
|
|
%12 = OpTypeFunction %void
|
|
%main = OpFunction %float None %1
|
|
%4 = OpLabel
|
|
%7 = OpFMul %float %float_2 %float_3
|
|
%9 = OpFSub %float %7 %float_4
|
|
%11 = OpFDiv %float %9 %float_5
|
|
OpReturnValue %11
|
|
OpFunctionEnd
|
|
%ep = OpFunction %void None %12
|
|
%15 = OpLabel
|
|
OpReturn
|
|
OpFunctionEnd
|