diff options
author | Christoph Bumiller <[email protected]> | 2011-10-13 14:48:03 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2011-10-15 14:12:31 +0200 |
commit | a4f26f2bea94baea56354fe629ccd971a6d4eb1c (patch) | |
tree | e16e69d5925bdcad8f85bc95a88fca7da195266c /src/gallium/include | |
parent | 0dc97e7fd49a5b8db25b95a1020fc598dba5cf65 (diff) |
gallium: add PIPE_BIND_BLENDABLE flag
This is required for an accurate implementation of d3d1x's
CheckFormatSupport query.
It also seems generally useful for state trackers, which could
choose alternative rendering paths or formats if blending would
come at a significant performance loss.
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/pipe/p_defines.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h index acae4b1ccbb..447df35da2a 100644 --- a/src/gallium/include/pipe/p_defines.h +++ b/src/gallium/include/pipe/p_defines.h @@ -295,10 +295,11 @@ enum pipe_transfer_usage { */ #define PIPE_BIND_DEPTH_STENCIL (1 << 0) /* create_surface */ #define PIPE_BIND_RENDER_TARGET (1 << 1) /* create_surface */ -#define PIPE_BIND_SAMPLER_VIEW (1 << 2) /* create_sampler_view */ -#define PIPE_BIND_VERTEX_BUFFER (1 << 3) /* set_vertex_buffers */ -#define PIPE_BIND_INDEX_BUFFER (1 << 4) /* draw_elements */ -#define PIPE_BIND_CONSTANT_BUFFER (1 << 5) /* set_constant_buffer */ +#define PIPE_BIND_BLENDABLE (1 << 2) /* create_surface */ +#define PIPE_BIND_SAMPLER_VIEW (1 << 3) /* create_sampler_view */ +#define PIPE_BIND_VERTEX_BUFFER (1 << 4) /* set_vertex_buffers */ +#define PIPE_BIND_INDEX_BUFFER (1 << 5) /* draw_elements */ +#define PIPE_BIND_CONSTANT_BUFFER (1 << 6) /* set_constant_buffer */ #define PIPE_BIND_DISPLAY_TARGET (1 << 8) /* flush_front_buffer */ #define PIPE_BIND_TRANSFER_WRITE (1 << 9) /* get_transfer */ #define PIPE_BIND_TRANSFER_READ (1 << 10) /* get_transfer */ |