softpipe: Move selection of shadow values up and clean parameter list
authorGert Wollny <gert.wollny@collabora.com>
Fri, 19 Apr 2019 11:29:04 +0000 (13:29 +0200)
committerGert Wollny <gert.wollny@collabora.com>
Wed, 1 May 2019 06:23:02 +0000 (08:23 +0200)
commit9e26a0ed8f63d7e29c7049e6a3543416b16ec0c1
tree71ceb9b2c51e2d07148a8918a14c1cc4286a187c
parent41dc16b928d2dadfdbc47f53373c0e2f75f81bdf
softpipe: Move selection of shadow values up and clean parameter list

The shadow evaluation compare parameter is stored in different locations,
depending on the texture type. Move the values to a common location free
the lod storage and to be able to reduce the number of parameters.

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/softpipe/sp_tex_sample.c