diff options
author | Francisco Jerez <[email protected]> | 2012-05-01 02:47:03 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2012-05-11 12:39:40 +0200 |
commit | 5f55cbc7d93c6568566893f9345e43fff311a32b (patch) | |
tree | de19782dee5eb32e279e4f0da962e6763fd3c200 /src/gallium/include/pipe/p_defines.h | |
parent | a5f44cc8c2ce0916809ce5da5a2490ad000ef099 (diff) |
gallium: Add context hooks for binding shader resources.
Diffstat (limited to 'src/gallium/include/pipe/p_defines.h')
-rw-r--r-- | src/gallium/include/pipe/p_defines.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h index c4c217b911f..9a0bce1c658 100644 --- a/src/gallium/include/pipe/p_defines.h +++ b/src/gallium/include/pipe/p_defines.h @@ -305,6 +305,8 @@ enum pipe_transfer_usage { #define PIPE_BIND_CURSOR (1 << 16) /* mouse cursor */ #define PIPE_BIND_CUSTOM (1 << 17) /* state-tracker/winsys usages */ #define PIPE_BIND_GLOBAL (1 << 18) /* set_global_binding */ +#define PIPE_BIND_SHADER_RESOURCE (1 << 19) /* set_shader_resources */ +#define PIPE_BIND_COMPUTE_RESOURCE (1 << 20) /* set_compute_resources */ /* The first two flags above were previously part of the amorphous * TEXTURE_USAGE, most of which are now descriptions of the ways a |