mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-04 03:05:42 +00:00
Fixed: tint:960 Change-Id: I04de8713fe299607f32fd93288a22b75a9dff381 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/58760 Reviewed-by: Ben Clayton <bclayton@chromium.org> Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
22 lines
1.1 KiB
Plaintext
22 lines
1.1 KiB
Plaintext
OpCapability Shader
|
|
OpMemoryModel Logical GLSL450
|
|
OpEntryPoint Fragment %main "main" %out_var_SV_TARGET
|
|
OpExecutionMode %main OriginUpperLeft
|
|
OpSource HLSL 600
|
|
OpName %out_var_SV_TARGET "out.var.SV_TARGET"
|
|
OpName %main "main"
|
|
OpDecorate %out_var_SV_TARGET Location 0
|
|
%float = OpTypeFloat 32
|
|
%float_0x1p_128 = OpConstant %float -0
|
|
%v4float = OpTypeVector %float 4
|
|
%_ptr_Output_v4float = OpTypePointer Output %v4float
|
|
%void = OpTypeVoid
|
|
%9 = OpTypeFunction %void
|
|
%out_var_SV_TARGET = OpVariable %_ptr_Output_v4float Output
|
|
%main = OpFunction %void None %9
|
|
%10 = OpLabel
|
|
%12 = OpCompositeConstruct %v4float %float_0x1p_128 %float_0x1p_128 %float_0x1p_128 %float_0x1p_128
|
|
OpStore %out_var_SV_TARGET %12
|
|
OpReturn
|
|
OpFunctionEnd
|