i965/vec4: fix regs_read() for doubles

Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
Iago Toral Quiroga 2016-05-30 13:20:31 +02:00 committed by Samuel Iglesias Gonsálvez
parent 7c6fba5e7c
commit f79547840a

View file

@ -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);
}
}