mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-16 04:11:25 +00:00
These are expressions, and not specific to `var`s. Break the tests up into finer granularity. Bug: tint:656 Change-Id: I6873407127871dfaec55d90f02e0490eef929a30 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/56071 Commit-Queue: Ben Clayton <bclayton@google.com> Auto-Submit: Ben Clayton <bclayton@google.com> Reviewed-by: Antonio Maiorano <amaiorano@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
45 lines
1.7 KiB
Plaintext
45 lines
1.7 KiB
Plaintext
; SPIR-V
|
|
; Version: 1.3
|
|
; Generator: Google Tint Compiler; 0
|
|
; Bound: 24
|
|
; Schema: 0
|
|
OpCapability Shader
|
|
OpMemoryModel Logical GLSL450
|
|
OpEntryPoint GLCompute %unused_entry_point "unused_entry_point"
|
|
OpExecutionMode %unused_entry_point LocalSize 1 1 1
|
|
OpName %unused_entry_point "unused_entry_point"
|
|
OpName %f "f"
|
|
OpName %v2 "v2"
|
|
OpName %v3 "v3"
|
|
OpName %v4 "v4"
|
|
%void = OpTypeVoid
|
|
%1 = OpTypeFunction %void
|
|
%bool = OpTypeBool
|
|
%v2bool = OpTypeVector %bool 2
|
|
%true = OpConstantTrue %bool
|
|
%10 = OpConstantComposite %v2bool %true %true
|
|
%_ptr_Function_v2bool = OpTypePointer Function %v2bool
|
|
%13 = OpConstantNull %v2bool
|
|
%v3bool = OpTypeVector %bool 3
|
|
%15 = OpConstantComposite %v3bool %true %true %true
|
|
%_ptr_Function_v3bool = OpTypePointer Function %v3bool
|
|
%18 = OpConstantNull %v3bool
|
|
%v4bool = OpTypeVector %bool 4
|
|
%20 = OpConstantComposite %v4bool %true %true %true %true
|
|
%_ptr_Function_v4bool = OpTypePointer Function %v4bool
|
|
%23 = OpConstantNull %v4bool
|
|
%unused_entry_point = OpFunction %void None %1
|
|
%4 = OpLabel
|
|
OpReturn
|
|
OpFunctionEnd
|
|
%f = OpFunction %void None %1
|
|
%6 = OpLabel
|
|
%v2 = OpVariable %_ptr_Function_v2bool Function %13
|
|
%v3 = OpVariable %_ptr_Function_v3bool Function %18
|
|
%v4 = OpVariable %_ptr_Function_v4bool Function %23
|
|
OpStore %v2 %10
|
|
OpStore %v3 %15
|
|
OpStore %v4 %20
|
|
OpReturn
|
|
OpFunctionEnd
|