[Mesa-dev] [RFC PATCH 21/40] i965: Make sure that we receive 64-bit state flags
Abdiel Janulgue
abdiel.janulgue at linux.intel.com
Sun Jan 4 06:04:35 PST 2015
Match core Mesa state flags to receive correct notifications.
Signed-off-by: Abdiel Janulgue <abdiel.janulgue at linux.intel.com>
---
src/mesa/drivers/dri/i965/brw_context.c | 2 +-
src/mesa/drivers/dri/i965/brw_context.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index d18733d..a6e73ce 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -154,7 +154,7 @@ intel_viewport(struct gl_context *ctx)
}
static void
-intel_update_state(struct gl_context * ctx, GLuint new_state)
+intel_update_state(struct gl_context * ctx, GLbitfield64 new_state)
{
struct brw_context *brw = brw_context(ctx);
struct intel_texture_object *tex_obj;
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h
index e0a1759..f384008 100644
--- a/src/mesa/drivers/dri/i965/brw_context.h
+++ b/src/mesa/drivers/dri/i965/brw_context.h
@@ -284,7 +284,7 @@ enum brw_state_id {
struct brw_state_flags {
/** State update flags signalled by mesa internals */
- GLuint mesa;
+ uint64_t mesa;
/**
* State update flags signalled as the result of brw_tracked_state updates
*/
@@ -1096,7 +1096,7 @@ struct brw_context
*/
bool needs_unlit_centroid_workaround;
- GLuint NewGLState;
+ uint64_t NewGLState;
struct {
struct brw_state_flags dirty;
} state;
--
1.9.1
More information about the mesa-dev
mailing list