crocus: add GL_CLAMP emulation in driver again.
authorDave Airlie <airlied@redhat.com>
Mon, 12 Jul 2021 05:12:02 +0000 (15:12 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 12 Jul 2021 05:18:13 +0000 (15:18 +1000)
commit8dcd4e48493f55e19b2738fd355ac68d00564491
tree27ceb935796160a818856c5172fa9395edffd707
parentead3340262195822371756d2fe6cc8e31407e62b
crocus: add GL_CLAMP emulation in driver again.

I removed this because I thought the state tracker could handle it,
and it really should handle it, but it has some minecraft side effects
I'm unsure about. This fixes the problem for now, we can revisit it later.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11822>
src/gallium/drivers/crocus/crocus_program.c
src/gallium/drivers/crocus/crocus_screen.c
src/gallium/drivers/crocus/crocus_screen.h
src/gallium/drivers/crocus/crocus_state.c