mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-20 15:20:38 +01:00
i965/gen8: Expose state base address setup
Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
9949103756
commit
4c526370ca
2 changed files with 4 additions and 2 deletions
|
|
@ -204,6 +204,9 @@ void brw_upload_invariant_state(struct brw_context *brw);
|
|||
uint32_t
|
||||
brw_depthbuffer_format(struct brw_context *brw);
|
||||
|
||||
/* gen8_misc_state.c */
|
||||
void gen8_upload_state_base_address(struct brw_context *brw);
|
||||
|
||||
/***********************************************************************
|
||||
* brw_state.c
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -29,8 +29,7 @@
|
|||
/**
|
||||
* Define the base addresses which some state is referenced from.
|
||||
*/
|
||||
static void
|
||||
gen8_upload_state_base_address(struct brw_context *brw)
|
||||
void gen8_upload_state_base_address(struct brw_context *brw)
|
||||
{
|
||||
uint32_t mocs_wb = brw->gen >= 9 ? SKL_MOCS_WB : BDW_MOCS_WB;
|
||||
int pkt_len = brw->gen >= 9 ? 19 : 16;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue