diff options
author | Jason Ekstrand <[email protected]> | 2015-04-14 16:57:24 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-04-22 16:00:32 -0700 |
commit | 6219a8f098f4e18ff974db380e97a351c8e78906 (patch) | |
tree | 1abb182e2bf0cd2251dcb9bc15364dc390ec439f /src/mesa | |
parent | a921475c22fe88fb6921a1f628d3ea05d55ba43b (diff) |
i965/eu: Add a devinfo parameter to brw_compile
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_eu.c | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_eu.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_eu.c b/src/mesa/drivers/dri/i965/brw_eu.c index c21d14de32b..ccd659e2fb3 100644 --- a/src/mesa/drivers/dri/i965/brw_eu.c +++ b/src/mesa/drivers/dri/i965/brw_eu.c @@ -218,6 +218,7 @@ brw_init_compile(struct brw_context *brw, struct brw_compile *p, void *mem_ctx) memset(p, 0, sizeof(*p)); p->brw = brw; + p->devinfo = brw->intelScreen->devinfo; /* * Set the initial instruction store array size to 1024, if found that * isn't enough, then it will double the store size at brw_next_insn() diff --git a/src/mesa/drivers/dri/i965/brw_eu.h b/src/mesa/drivers/dri/i965/brw_eu.h index 31c1492315d..dc62cf0a516 100644 --- a/src/mesa/drivers/dri/i965/brw_eu.h +++ b/src/mesa/drivers/dri/i965/brw_eu.h @@ -70,6 +70,7 @@ struct brw_compile { bool single_program_flow; bool compressed; struct brw_context *brw; + const struct brw_device_info *devinfo; /* Control flow stacks: * - if_stack contains IF and ELSE instructions which must be patched |