mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
i965/vec4: make opt_vector_float ignore doubles
The pass does not support doubles in its current form. Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
a8318b120e
commit
21cf6f14d5
1 changed files with 1 additions and 0 deletions
|
|
@ -393,6 +393,7 @@ vec4_visitor::opt_vector_float()
|
|||
inst->src[0].file == IMM &&
|
||||
inst->predicate == BRW_PREDICATE_NONE &&
|
||||
inst->dst.writemask != WRITEMASK_XYZW &&
|
||||
type_sz(inst->src[0].type) < 8 &&
|
||||
(inst->src[0].type == inst->dst.type || inst->src[0].d == 0)) {
|
||||
|
||||
vf = brw_float_to_vf(inst->src[0].d);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue