gallivm: Use the proper enum for the texture target bitfield.
authorEric Anholt <eric@anholt.net>
Wed, 16 Dec 2020 18:47:06 +0000 (10:47 -0800)
committerMarge Bot <eric+marge@anholt.net>
Thu, 24 Dec 2020 00:18:19 +0000 (00:18 +0000)
commit0ce7c4a7c98122996af849b0f1199da13cd7efa2
tree2be704d56c5a1fd6c0506c194828e6c8be1e7f09
parent0a179bb6e26b487356384c561dee6aefa9af5889
gallivm: Use the proper enum for the texture target bitfield.

This gets you nice output in gdb when trying to figure out why your 2D
sample shader is hitting the cube paths.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8118>
src/gallium/auxiliary/gallivm/lp_bld_sample.h