mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-03 16:39:01 -06:00 
			
		
		
		
	Merge pull request #4361 from ReinUsesLisp/lane-id
decode/other: Implement S2R.LaneId
This commit is contained in:
		@@ -75,8 +75,7 @@ u32 ShaderIR::DecodeOther(NodeBlock& bb, u32 pc) {
 | 
				
			|||||||
        const Node value = [this, instr] {
 | 
					        const Node value = [this, instr] {
 | 
				
			||||||
            switch (instr.sys20) {
 | 
					            switch (instr.sys20) {
 | 
				
			||||||
            case SystemVariable::LaneId:
 | 
					            case SystemVariable::LaneId:
 | 
				
			||||||
                LOG_WARNING(HW_GPU, "S2R instruction with LaneId is incomplete");
 | 
					                return Operation(OperationCode::ThreadId);
 | 
				
			||||||
                return Immediate(0U);
 | 
					 | 
				
			||||||
            case SystemVariable::InvocationId:
 | 
					            case SystemVariable::InvocationId:
 | 
				
			||||||
                return Operation(OperationCode::InvocationId);
 | 
					                return Operation(OperationCode::InvocationId);
 | 
				
			||||||
            case SystemVariable::Ydirection:
 | 
					            case SystemVariable::Ydirection:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user