mirror of
				https://github.com/encounter/dawn-cmake.git
				synced 2025-10-26 03:30:30 +00:00 
			
		
		
		
	CTS tests: https://github.com/gpuweb/cts/pull/1012 Bug: tint:1371 Change-Id: Idd55c0bc9dad1dffb558d0bc57d744f65e9041b5 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/81701 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: David Neto <dneto@google.com>
		
			
				
	
	
		
			34 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
|                       OpCapability Shader
 | |
|                 %16 = OpExtInstImport "GLSL.std.450"
 | |
|                       OpMemoryModel Logical GLSL450
 | |
|                       OpEntryPoint GLCompute %f "f"
 | |
|                       OpExecutionMode %f LocalSize 1 1 1
 | |
|                       OpName %f "f"
 | |
|                       OpName %v "v"
 | |
|                       OpName %n "n"
 | |
|                       OpName %offset "offset"
 | |
|                       OpName %count "count"
 | |
|               %void = OpTypeVoid
 | |
|                  %1 = OpTypeFunction %void
 | |
|                %int = OpTypeInt 32 1
 | |
|  %_ptr_Function_int = OpTypePointer Function %int
 | |
|                  %8 = OpConstantNull %int
 | |
|               %uint = OpTypeInt 32 0
 | |
| %_ptr_Function_uint = OpTypePointer Function %uint
 | |
|                 %13 = OpConstantNull %uint
 | |
|            %uint_31 = OpConstant %uint 31
 | |
|            %uint_32 = OpConstant %uint 32
 | |
|                  %f = OpFunction %void None %1
 | |
|                  %4 = OpLabel
 | |
|                  %v = OpVariable %_ptr_Function_int Function %8
 | |
|                  %n = OpVariable %_ptr_Function_int Function %8
 | |
|             %offset = OpVariable %_ptr_Function_uint Function %13
 | |
|              %count = OpVariable %_ptr_Function_uint Function %13
 | |
|                 %17 = OpLoad %int %v
 | |
|                 %18 = OpLoad %int %n
 | |
|                 %19 = OpLoad %uint %offset
 | |
|                 %20 = OpLoad %uint %count
 | |
|                 %15 = OpBitFieldInsert %int %17 %18 %19 %20
 | |
|                       OpReturn
 | |
|                       OpFunctionEnd
 |