diff options
author | Erik Faye-Lund <erik.faye-lund@collabora.com> | 2019-07-05 16:08:19 +0200 |
---|---|---|
committer | Erik Faye-Lund <erik.faye-lund@collabora.com> | 2019-07-10 15:49:57 +0200 |
commit | 681fa03e8d290ab1ee49de3f2c35f3dbb11636dc (patch) | |
tree | 2a80cfb0bf0c3874efc64aebe8298c3f10256a0a /src/gallium/include | |
parent | 66ee6661e9968ea146d2ad0d606e1a35a17587dd (diff) | |
download | mesa-681fa03e8d290ab1ee49de3f2c35f3dbb11636dc.tar.gz |
gallium: give fragment-shader derivatives its own cap
Shader Model 3.0 is a big promise to make to the state-tracker, and
for instance mobile hardware might support fragment-shader derivatives
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>
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/pipe/p_defines.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h index 8092fca4df1..1ce2d131195 100644 --- a/src/gallium/include/pipe/p_defines.h +++ b/src/gallium/include/pipe/p_defines.h @@ -889,6 +889,7 @@ enum pipe_cap PIPE_CAP_ATOMIC_FLOAT_MINMAX, PIPE_CAP_TGSI_DIV, PIPE_CAP_FRAGMENT_SHADER_TEXTURE_LOD, + PIPE_CAP_FRAGMENT_SHADER_DERIVATIVES, }; /** |