diff options
author | Marek Olšák <maraeo@gmail.com> | 2011-03-28 02:28:48 +0200 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2011-04-01 13:48:01 +0200 |
commit | 25f26997670302b07d48207b28f385f85f6af9bb (patch) | |
tree | 499ee24859a4f769171052fce25d7ed7749e919e /src/gallium/include | |
parent | 9f013a8233197d4a0482661cb37cfeac1a61b804 (diff) | |
download | external_mesa3d-25f26997670302b07d48207b28f385f85f6af9bb.zip external_mesa3d-25f26997670302b07d48207b28f385f85f6af9bb.tar.gz external_mesa3d-25f26997670302b07d48207b28f385f85f6af9bb.tar.bz2 |
gallium: add a CAP for mixed colorbuffer format support
Some GPUs can't do it (I think most of DX9 ones), so they should have
the option not to allow it.
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 4c1879c..431a7fb 100644 --- a/src/gallium/include/pipe/p_defines.h +++ b/src/gallium/include/pipe/p_defines.h @@ -464,6 +464,7 @@ enum pipe_cap { PIPE_CAP_TGSI_INSTANCEID = 43, PIPE_CAP_VERTEX_ELEMENT_INSTANCE_DIVISOR = 44, PIPE_CAP_FRAGMENT_COLOR_CLAMP_CONTROL = 45, + PIPE_CAP_MIXED_COLORBUFFER_FORMATS = 46, }; /* Shader caps not specific to any single stage */ |