mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-31 09:25:41 +00:00
Allow module-scope declarations to be made in any order. Bug: tint:1266 Change-Id: Ib2607b6c33fad7c83e2c36f85b0a965eac922ec5 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/79769 Reviewed-by: David Neto <dneto@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
26 lines
803 B
Plaintext
26 lines
803 B
Plaintext
; SPIR-V
|
|
; Version: 1.3
|
|
; Generator: Google Tint Compiler; 0
|
|
; Bound: 10
|
|
; Schema: 0
|
|
OpCapability Shader
|
|
OpMemoryModel Logical GLSL450
|
|
OpEntryPoint Fragment %f "f"
|
|
OpExecutionMode %f OriginUpperLeft
|
|
OpName %f "f"
|
|
OpName %S "S"
|
|
OpMemberName %S 0 "m"
|
|
OpName %v "v"
|
|
OpMemberDecorate %S 0 Offset 0
|
|
%void = OpTypeVoid
|
|
%1 = OpTypeFunction %void
|
|
%int = OpTypeInt 32 1
|
|
%S = OpTypeStruct %int
|
|
%_ptr_Function_S = OpTypePointer Function %S
|
|
%9 = OpConstantNull %S
|
|
%f = OpFunction %void None %1
|
|
%4 = OpLabel
|
|
%v = OpVariable %_ptr_Function_S Function %9
|
|
OpReturn
|
|
OpFunctionEnd
|