mirror of
				https://github.com/encounter/dawn-cmake.git
				synced 2025-10-26 03:30:30 +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
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
|                     OpCapability Shader
 | |
|                %1 = OpExtInstImport "GLSL.std.450"
 | |
|                     OpMemoryModel Logical GLSL450
 | |
|                     OpEntryPoint GLCompute %main "main"
 | |
|                     OpExecutionMode %main LocalSize 1 1 1
 | |
|                     OpSource GLSL 450
 | |
|                     OpName %main "main"
 | |
|                     OpName %S "S"
 | |
|                     OpMemberName %S 0 "i"
 | |
|                     OpName %V "V"
 | |
|                     OpDecorate %gl_WorkGroupSize BuiltIn WorkgroupSize
 | |
|             %void = OpTypeVoid
 | |
|                %3 = OpTypeFunction %void
 | |
|              %int = OpTypeInt 32 1
 | |
|                %S = OpTypeStruct %int
 | |
|   %_ptr_Private_S = OpTypePointer Private %S
 | |
|                %V = OpVariable %_ptr_Private_S Private
 | |
|            %int_0 = OpConstant %int 0
 | |
|            %int_5 = OpConstant %int 5
 | |
| %_ptr_Private_int = OpTypePointer Private %int
 | |
|             %uint = OpTypeInt 32 0
 | |
|           %v3uint = OpTypeVector %uint 3
 | |
|           %uint_1 = OpConstant %uint 1
 | |
| %gl_WorkGroupSize = OpConstantComposite %v3uint %uint_1 %uint_1 %uint_1
 | |
|             %main = OpFunction %void None %3
 | |
|                %5 = OpLabel
 | |
|               %13 = OpAccessChain %_ptr_Private_int %V %int_0
 | |
|                     OpStore %13 %int_5
 | |
|                     OpReturn
 | |
|                     OpFunctionEnd
 |