shader_bytecode: update BFE instructions struct.
This commit is contained in:
		
							parent
							
								
									911c56ccef
								
							
						
					
					
						commit
						93547cac68
					
				@ -911,14 +911,9 @@ union Instruction {
 | 
				
			|||||||
    } fadd32i;
 | 
					    } fadd32i;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    union {
 | 
					    union {
 | 
				
			||||||
        BitField<20, 8, u64> shift_position;
 | 
					        BitField<40, 1, u64> brev;
 | 
				
			||||||
        BitField<28, 8, u64> shift_length;
 | 
					        BitField<47, 1, u64> rd_cc;
 | 
				
			||||||
        BitField<48, 1, u64> negate_b;
 | 
					        BitField<48, 1, u64> is_signed;
 | 
				
			||||||
        BitField<49, 1, u64> negate_a;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        u64 GetLeftShiftValue() const {
 | 
					 | 
				
			||||||
            return 32 - (shift_position + shift_length);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
    } bfe;
 | 
					    } bfe;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    union {
 | 
					    union {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user