mirror of
				https://github.com/encounter/dawn-cmake.git
				synced 2025-10-25 19:20: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>
		
			
				
	
	
		
			35 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| ; Test: SpvModuleScopeVarParserTest_BuiltinPosition_StorePosition.spvasm
 | |
| ; SPIR-V
 | |
| ; Version: 1.0
 | |
| ; Generator: Khronos SPIR-V Tools Assembler; 0
 | |
| ; Bound: 101
 | |
| ; Schema: 0
 | |
| OpCapability Shader
 | |
| OpMemoryModel Logical Simple
 | |
| OpEntryPoint Vertex %2 "main" %1
 | |
| OpDecorate %_struct_10 Block
 | |
| OpMemberDecorate %_struct_10 0 BuiltIn Position
 | |
| OpMemberDecorate %_struct_10 1 BuiltIn PointSize
 | |
| OpMemberDecorate %_struct_10 2 BuiltIn ClipDistance
 | |
| OpMemberDecorate %_struct_10 3 BuiltIn CullDistance
 | |
| %void = OpTypeVoid
 | |
| %4 = OpTypeFunction %void
 | |
| %float = OpTypeFloat 32
 | |
| %v4float = OpTypeVector %float 4
 | |
| %uint = OpTypeInt 32 0
 | |
| %uint_0 = OpConstant %uint 0
 | |
| %uint_1 = OpConstant %uint 1
 | |
| %_arr_float_uint_1 = OpTypeArray %float %uint_1
 | |
| %_struct_10 = OpTypeStruct %v4float %float %_arr_float_uint_1 %_arr_float_uint_1
 | |
| %_ptr_Output__struct_10 = OpTypePointer Output %_struct_10
 | |
| %1 = OpVariable %_ptr_Output__struct_10 Output
 | |
| %_ptr_Output_v4float = OpTypePointer Output %v4float
 | |
| %14 = OpConstantNull %v4float
 | |
| %2 = OpFunction %void None %4
 | |
| %15 = OpLabel
 | |
| %100 = OpAccessChain %_ptr_Output_v4float %1 %uint_0
 | |
| OpStore %100 %14
 | |
| OpReturn
 | |
| OpFunctionEnd
 | |
| 
 |