mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-20 18:29:23 +00:00
tint->dawn: Shuffle source tree in preperation of merging repos
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>
This commit is contained in:
committed by
Tint LUCI CQ
parent
38f1e9c75c
commit
dbc13af287
@@ -0,0 +1,64 @@
|
||||
; SPIR-V
|
||||
; Version: 1.3
|
||||
; Generator: Google Tint Compiler; 0
|
||||
; Bound: 31
|
||||
; Schema: 0
|
||||
OpCapability Shader
|
||||
OpMemoryModel Logical GLSL450
|
||||
OpEntryPoint GLCompute %f "f"
|
||||
OpExecutionMode %f LocalSize 1 1 1
|
||||
OpName %UBO "UBO"
|
||||
OpMemberName %UBO 0 "dynamic_idx"
|
||||
OpName %ubo "ubo"
|
||||
OpName %Result "Result"
|
||||
OpMemberName %Result 0 "out"
|
||||
OpName %result "result"
|
||||
OpName %f "f"
|
||||
OpName %S "S"
|
||||
OpMemberName %S 0 "data"
|
||||
OpName %s "s"
|
||||
OpDecorate %UBO Block
|
||||
OpMemberDecorate %UBO 0 Offset 0
|
||||
OpDecorate %ubo NonWritable
|
||||
OpDecorate %ubo DescriptorSet 0
|
||||
OpDecorate %ubo Binding 0
|
||||
OpDecorate %Result Block
|
||||
OpMemberDecorate %Result 0 Offset 0
|
||||
OpDecorate %result DescriptorSet 0
|
||||
OpDecorate %result Binding 1
|
||||
OpMemberDecorate %S 0 Offset 0
|
||||
OpDecorate %_arr_int_uint_64 ArrayStride 4
|
||||
%int = OpTypeInt 32 1
|
||||
%UBO = OpTypeStruct %int
|
||||
%_ptr_Uniform_UBO = OpTypePointer Uniform %UBO
|
||||
%ubo = OpVariable %_ptr_Uniform_UBO Uniform
|
||||
%Result = OpTypeStruct %int
|
||||
%_ptr_StorageBuffer_Result = OpTypePointer StorageBuffer %Result
|
||||
%result = OpVariable %_ptr_StorageBuffer_Result StorageBuffer
|
||||
%void = OpTypeVoid
|
||||
%8 = OpTypeFunction %void
|
||||
%uint = OpTypeInt 32 0
|
||||
%uint_64 = OpConstant %uint 64
|
||||
%_arr_int_uint_64 = OpTypeArray %int %uint_64
|
||||
%S = OpTypeStruct %_arr_int_uint_64
|
||||
%_ptr_Function_S = OpTypePointer Function %S
|
||||
%18 = OpConstantNull %S
|
||||
%uint_0 = OpConstant %uint 0
|
||||
%_ptr_Uniform_int = OpTypePointer Uniform %int
|
||||
%_ptr_Function_int = OpTypePointer Function %int
|
||||
%int_1 = OpConstant %int 1
|
||||
%_ptr_StorageBuffer_int = OpTypePointer StorageBuffer %int
|
||||
%int_3 = OpConstant %int 3
|
||||
%f = OpFunction %void None %8
|
||||
%11 = OpLabel
|
||||
%s = OpVariable %_ptr_Function_S Function %18
|
||||
%21 = OpAccessChain %_ptr_Uniform_int %ubo %uint_0
|
||||
%22 = OpLoad %int %21
|
||||
%24 = OpAccessChain %_ptr_Function_int %s %uint_0 %22
|
||||
OpStore %24 %int_1
|
||||
%27 = OpAccessChain %_ptr_StorageBuffer_int %result %uint_0
|
||||
%29 = OpAccessChain %_ptr_Function_int %s %uint_0 %int_3
|
||||
%30 = OpLoad %int %29
|
||||
OpStore %27 %30
|
||||
OpReturn
|
||||
OpFunctionEnd
|
||||
Reference in New Issue
Block a user