mirror of
				https://github.com/tiagovignatti/intel-gpu-tools.git
				synced 2025-11-04 12:07:12 +00:00 
			
		
		
		
	assembler: fix condition for printing a warning
Signed-off-by: Thomas Wood <thomas.wood@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
		
							parent
							
								
									49aa4b0df5
								
							
						
					
					
						commit
						e6737b8a4e
					
				@ -351,7 +351,7 @@ static bool validate_src_reg(struct brw_program_instruction *insn,
 | 
			
		||||
    /* B. If ExecSize = Width and HorzStride ≠ 0, VertStride must be set to
 | 
			
		||||
     * Width * HorzStride. */
 | 
			
		||||
    if (execsize == width && hstride != 0) {
 | 
			
		||||
	if (vstride != -1 && vstride != width * hstride);
 | 
			
		||||
	if (vstride != -1 && vstride != width * hstride)
 | 
			
		||||
	    warn(ALL, location, "execution size == width and hstride != 0 but "
 | 
			
		||||
		 "vstride is not width * hstride\n");
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user