[PATCH i-g-t 2/3] assembler: fix condition for printing a warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Thomas Wood <thomas.wood@xxxxxxxxx>
---
 assembler/gram.y | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/assembler/gram.y b/assembler/gram.y
index ad4cb29..f4145bd 100644
--- a/assembler/gram.y
+++ b/assembler/gram.y
@@ -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");
     }
-- 
1.8.5.3

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux