summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp
index 6f0f3475223..65438f702d7 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp
@@ -228,8 +228,8 @@ vec4_instruction::size_read(unsigned arg) const
case UNIFORM:
return 4 * type_sz(src[arg].type);
default:
- /* XXX - Represent actual execution size and vertical stride. */
- return 8 * type_sz(src[arg].type);
+ /* XXX - Represent actual vertical stride. */
+ return exec_size * type_sz(src[arg].type);
}
}