mirror of
				https://github.com/encounter/dawn-cmake.git
				synced 2025-10-27 20:20:28 +00:00 
			
		
		
		
	SPIRV-Val has tightended up validation around input / output interpolation decorations. This change ensures that the parser and writer do the right thing. Change-Id: I29c97fdcc48c62aa77b106c42e64fbc54204d607 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/96020 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
		
			
				
	
	
		
			54 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			54 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| ; Test: SpvModuleScopeVarParserTest_EntryPointWrapping_IOLocations.spvasm
 | |
| ; SPIR-V
 | |
| ; Version: 1.0
 | |
| ; Generator: Khronos SPIR-V Tools Assembler; 0
 | |
| ; Bound: 34
 | |
| ; Schema: 0
 | |
| OpCapability Shader
 | |
| OpCapability SampleRateShading
 | |
| OpMemoryModel Logical Simple
 | |
| OpEntryPoint Fragment %5 "main" %1 %2 %3 %4
 | |
| OpExecutionMode %5 OriginUpperLeft
 | |
| OpDecorate %1 Location 0
 | |
| OpDecorate %1 Flat
 | |
| OpDecorate %2 Location 0
 | |
| OpDecorate %3 Location 30
 | |
| OpDecorate %3 Flat
 | |
| OpDecorate %4 Location 6
 | |
| %void = OpTypeVoid
 | |
| %7 = OpTypeFunction %void
 | |
| %bool = OpTypeBool
 | |
| %float = OpTypeFloat 32
 | |
| %uint = OpTypeInt 32 0
 | |
| %int = OpTypeInt 32 1
 | |
| %_ptr_Private_bool = OpTypePointer Private %bool
 | |
| %_ptr_Private_float = OpTypePointer Private %float
 | |
| %_ptr_Private_uint = OpTypePointer Private %uint
 | |
| %_ptr_Private_int = OpTypePointer Private %int
 | |
| %true = OpConstantTrue %bool
 | |
| %false = OpConstantFalse %bool
 | |
| %float_0 = OpConstant %float 0
 | |
| %float_1_5 = OpConstant %float 1.5
 | |
| %uint_1 = OpConstant %uint 1
 | |
| %int_n1 = OpConstant %int -1
 | |
| %int_14 = OpConstant %int 14
 | |
| %uint_2 = OpConstant %uint 2
 | |
| %v2bool = OpTypeVector %bool 2
 | |
| %v2uint = OpTypeVector %uint 2
 | |
| %v2int = OpTypeVector %int 2
 | |
| %v2float = OpTypeVector %float 2
 | |
| %v4float = OpTypeVector %float 4
 | |
| %mat3v2float = OpTypeMatrix %v2float 3
 | |
| %_arr_uint_uint_2 = OpTypeArray %uint %uint_2
 | |
| %_ptr_Input_uint = OpTypePointer Input %uint
 | |
| %_ptr_Output_uint = OpTypePointer Output %uint
 | |
| %1 = OpVariable %_ptr_Input_uint Input
 | |
| %2 = OpVariable %_ptr_Output_uint Output
 | |
| %3 = OpVariable %_ptr_Input_uint Input
 | |
| %4 = OpVariable %_ptr_Output_uint Output
 | |
| %5 = OpFunction %void None %7
 | |
| %33 = OpLabel
 | |
| OpReturn
 | |
| OpFunctionEnd
 | |
| 
 |