tnl: fix not having texture coords in ATI_fs in swrast
authorMiklós Máté <mtmkls@gmail.com>
Sat, 2 Dec 2017 22:35:22 +0000 (23:35 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 25 Dec 2017 13:32:23 +0000 (14:32 +0100)
commit7df48c48f9c50ebb96bad563fc119382b7fc1e78
treeea031778dcb381f6bd1c212d62b1f651840fb012
parenta64d6fb7308e0ce79e0f1b8e9b7cda6403be1eb6
tnl: fix not having texture coords in ATI_fs in swrast

ATI_fs in swrast only had access to texture coordinates if there was a
valid texture bound and texturing was enabled.

Piglit: spec/ati_fragment_shader/render-sources and render-notexture

Signed-off-by: Miklós Máté <mtmkls@gmail.com>
src/mesa/tnl/t_context.c