summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/state_tracker/st_context.h')
-rw-r--r--src/mesa/state_tracker/st_context.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_context.h b/src/mesa/state_tracker/st_context.h
index 770477a9bbb..f8e9bf96c52 100644
--- a/src/mesa/state_tracker/st_context.h
+++ b/src/mesa/state_tracker/st_context.h
@@ -79,6 +79,12 @@ struct st_bitmap_cache
ubyte *buffer;
};
+struct st_bound_handles
+{
+ unsigned num_handles;
+ uint64_t *handles;
+};
+
struct st_context
{
struct st_context_iface iface;
@@ -274,6 +280,11 @@ struct st_context
struct st_perf_monitor_group *perfmon;
enum pipe_reset_status reset_status;
+
+ /* Array of bound texture/image handles which are resident in the context.
+ */
+ struct st_bound_handles bound_texture_handles[PIPE_SHADER_TYPES];
+ struct st_bound_handles bound_image_handles[PIPE_SHADER_TYPES];
};