diff options
author | Iago Toral Quiroga <[email protected]> | 2016-05-30 13:20:31 +0200 |
---|---|---|
committer | Samuel Iglesias Gonsálvez <[email protected]> | 2017-01-03 11:26:51 +0100 |
commit | f79547840a1951dbf82c7b6629935c6e89020e27 (patch) | |
tree | 8928036a8306aed5ce4cd4ee5798c5746e5811b0 | |
parent | 7c6fba5e7cf7af622007c1e5d790152d4fc93ced (diff) |
i965/vec4: fix regs_read() for doubles
Reviewed-by: Matt Turner <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4.cpp | 4 |
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); } } |