diff options
author | Rob Clark <[email protected]> | 2015-05-23 13:37:41 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2015-06-21 07:53:50 -0400 |
commit | 694beb8b830c993e9bfb744655be3dbd558ab3a8 (patch) | |
tree | dcbfba77214b9ad8e9c7ab9001ffbdaeba1e1315 /src/gallium/drivers/freedreno/freedreno_screen.h | |
parent | 5c1e153467a50dec91df49239654017e9ed86d69 (diff) |
freedreno/ir3: introduce ir3_compiler object
Right now, just provides a cleaner way to get at the gpu-id, given the
separation between compiler and context. But we will need this also to
hold the reg-set for new register allocation.
Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_screen.h')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_screen.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_screen.h b/src/gallium/drivers/freedreno/freedreno_screen.h index 3b470d1d8a6..dbc2808262a 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.h +++ b/src/gallium/drivers/freedreno/freedreno_screen.h @@ -46,7 +46,9 @@ struct fd_screen { uint32_t device_id; uint32_t gpu_id; /* 220, 305, etc */ uint32_t chip_id; /* coreid:8 majorrev:8 minorrev:8 patch:8 */ - uint32_t max_rts; + uint32_t max_rts; /* max # of render targets */ + + void *compiler; /* currently unused for a2xx */ struct fd_device *dev; struct fd_pipe *pipe; |