gallium: give fragment-shader texture-lod its own cap
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 5 Jul 2019 13:46:38 +0000 (15:46 +0200)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 10 Jul 2019 13:49:57 +0000 (15:49 +0200)
commit66ee6661e9968ea146d2ad0d606e1a35a17587dd
tree0d091fe7975b94afdfe2ab3f4ba0c229c1b8a403
parentffbd0046863add97bb4ef9250abd4d4dc1639e4b
gallium: give fragment-shader texture-lod its own cap

Shader Model 3.0 is a big promise to make to the state-tracker, and
for instance mobile hardware might support texture lod but not some
of the other features of SM3. So let's give this its own cap for
simplicity.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/util/u_screen.c
src/gallium/docs/source/screen.rst
src/gallium/include/pipe/p_defines.h
src/mesa/state_tracker/st_extensions.c