summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assembler/gram.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/assembler/gram.y b/assembler/gram.y
index ad4cb290..f4145bd9 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");
}