Mesa (master): i965: Remove non-existent vertical strides from array.
Matt Turner
mattst88 at kemper.freedesktop.org
Thu Nov 6 19:11:03 UTC 2014
Module: Mesa
Branch: master
Commit: 9557cf7d0d2e5a76a5277c2a4825e265609b2fca
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9557cf7d0d2e5a76a5277c2a4825e265609b2fca
Author: Matt Turner <mattst88 at gmail.com>
Date: Tue Oct 28 09:04:41 2014 -0700
i965: Remove non-existent vertical strides from array.
These never existed, as far as I can tell.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
---
src/mesa/drivers/dri/i965/brw_eu_emit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c
index bb12a26..c475393 100644
--- a/src/mesa/drivers/dri/i965/brw_eu_emit.c
+++ b/src/mesa/drivers/dri/i965/brw_eu_emit.c
@@ -227,7 +227,7 @@ static void
validate_reg(const struct brw_context *brw, brw_inst *inst, struct brw_reg reg)
{
int hstride_for_reg[] = {0, 1, 2, 4};
- int vstride_for_reg[] = {0, 1, 2, 4, 8, 16, 32, 64, 128, 256};
+ int vstride_for_reg[] = {0, 1, 2, 4, 8, 16, 32};
int width_for_reg[] = {1, 2, 4, 8, 16};
int execsize_for_reg[] = {1, 2, 4, 8, 16};
int width, hstride, vstride, execsize;
More information about the mesa-commit
mailing list