summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_context.h
diff options
context:
space:
mode:
authorTopi Pohjolainen <topi.pohjolainen@intel.com>2016-09-05 15:14:11 +0300
committerTopi Pohjolainen <topi.pohjolainen@intel.com>2016-09-12 08:58:38 +0300
commit1f51217d99e7eb70a62b2611cd1b70f9b5a40fcf (patch)
tree2327236df7488a06cf890193544e5f184df2ac4a /src/mesa/drivers/dri/i965/brw_context.h
parent1634a4963c64d84da89ce47ba01828a7fc22d22a (diff)
downloadexternal_mesa3d-1f51217d99e7eb70a62b2611cd1b70f9b5a40fcf.zip
external_mesa3d-1f51217d99e7eb70a62b2611cd1b70f9b5a40fcf.tar.gz
external_mesa3d-1f51217d99e7eb70a62b2611cd1b70f9b5a40fcf.tar.bz2
i965: Replace boolean rb surface state setup argument with flags
And add plumbing to provide it all the way to surface state emitter. This is not used yet but will be in subsequent patches to carry additional constraints. v2 (Jason): Use uint32_t instead of int as the type Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h
index e7c90b7..7780ce5 100644
--- a/src/mesa/drivers/dri/i965/brw_context.h
+++ b/src/mesa/drivers/dri/i965/brw_context.h
@@ -747,7 +747,7 @@ struct brw_context
{
uint32_t (*update_renderbuffer_surface)(struct brw_context *brw,
struct gl_renderbuffer *rb,
- bool layered, unsigned unit,
+ uint32_t flags, unsigned unit,
uint32_t surf_index);
void (*emit_null_surface_state)(struct brw_context *brw,
unsigned width,