spirv: don't set float control for integer dot

As the name says, integer dot products do not operate on floats.

Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39103>
This commit is contained in:
Georg Lehmann 2025-12-31 16:07:33 +01:00 committed by Marge Bot
parent eb4737a1dd
commit ce27703768

View file

@ -1108,12 +1108,9 @@ void
vtn_handle_integer_dot(struct vtn_builder *b, SpvOp opcode,
const uint32_t *w, unsigned count)
{
struct vtn_value *dest_val = vtn_untyped_value(b, w[2]);
const struct glsl_type *dest_type = vtn_get_type(b, w[1])->type;
const unsigned dest_size = glsl_get_bit_size(dest_type);
b->nb.exact |= vtn_has_decoration(b, dest_val, SpvDecorationNoContraction);
/* Collect the various SSA sources.
*
* Due to the optional "Packed Vector Format" field, determine number of
@ -1374,8 +1371,6 @@ vtn_handle_integer_dot(struct vtn_builder *b, SpvOp opcode,
}
vtn_push_nir_ssa(b, w[2], dest);
b->nb.exact = b->exact;
}
void