mesa/st: set normalized coords for RECT samplers if rects are unsupported
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Tue, 12 Apr 2022 15:45:33 +0000 (11:45 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 14 Apr 2022 22:57:23 +0000 (22:57 +0000)
commit2058ae7b430457dd5dcc2a2e7eaf742981bfbf4f
treeec28ba3fbbf9e7156d947423a4b388bc6e012475
parent5b0634d7353017464c0bdb9e009f4b2d98948187
mesa/st: set normalized coords for RECT samplers if rects are unsupported

the shaders will never see these, so set the expected value for 2D

cc: mesa-stable

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15895>
src/mesa/state_tracker/st_atom_sampler.c