mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
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:
parent
eb4737a1dd
commit
ce27703768
1 changed files with 0 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue