v3d: Add support for texturing from linear.
authorEric Anholt <eric@anholt.net>
Thu, 29 Nov 2018 01:22:45 +0000 (17:22 -0800)
committerEric Anholt <eric@anholt.net>
Sat, 15 Dec 2018 01:48:01 +0000 (17:48 -0800)
commit6ad9e8690d144f110150d3367254504c1b322682
tree7e8f987b4f74e27da90c1f2c5a2df71e117d773b
parent976ea90bdca2b1fc9e7a577ddc302e810c622183
v3d: Add support for texturing from linear.

Just like vc4, we have to support linear shared BOs for X11 on arbitrary
displays.  When we're faced with a request to texture from one of those,
make a shadow image that we copy using the TFU at the start of the draw
call.
src/gallium/drivers/v3d/v3d_context.h
src/gallium/drivers/v3d/v3d_resource.c
src/gallium/drivers/v3d/v3d_resource.h
src/gallium/drivers/v3d/v3d_uniforms.c
src/gallium/drivers/v3d/v3dx_draw.c
src/gallium/drivers/v3d/v3dx_state.c