Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5746>
{
ir_hierarchical_visitor::visit_enter(ir);
- if (stack.back().state == UNKNOWN) {
- /* The precision of the sample value depends on the precision of the
- * sampler.
- */
- stack.back().state = handle_precision(ir->type,
- ir->sampler->precision());
- }
-
+ /* The precision of the sample value depends on the precision of the
+ * sampler.
+ */
+ stack.back().state = handle_precision(ir->type,
+ ir->sampler->precision());
return visit_continue;
}