From: Marek Olšák Date: Wed, 17 Aug 2016 12:24:26 +0000 (+0200) Subject: gallium/radeon: increase priority for shader binaries X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bcfd49e5119a0c315aebf4773e7c50fe282339b2;p=mesa.git gallium/radeon: increase priority for shader binaries Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/gallium/drivers/radeon/radeon_winsys.h b/src/gallium/drivers/radeon/radeon_winsys.h index cbab406db88..f4e37733e2f 100644 --- a/src/gallium/drivers/radeon/radeon_winsys.h +++ b/src/gallium/drivers/radeon/radeon_winsys.h @@ -186,7 +186,6 @@ enum radeon_bo_priority { RADEON_PRIO_SDMA_TEXTURE, RADEON_PRIO_CP_DMA = 12, - RADEON_PRIO_SHADER_BINARY, RADEON_PRIO_CONST_BUFFER = 16, RADEON_PRIO_DESCRIPTORS, @@ -214,6 +213,7 @@ enum radeon_bo_priority { RADEON_PRIO_CMASK = 52, RADEON_PRIO_DCC, RADEON_PRIO_HTILE, + RADEON_PRIO_SHADER_BINARY, /* the hw can't hide instruction cache misses */ RADEON_PRIO_SHADER_RINGS = 56, diff --git a/src/gallium/drivers/radeonsi/si_debug.c b/src/gallium/drivers/radeonsi/si_debug.c index 4b500cfffa0..7e75d3ff99b 100644 --- a/src/gallium/drivers/radeonsi/si_debug.c +++ b/src/gallium/drivers/radeonsi/si_debug.c @@ -553,7 +553,6 @@ static const char *priority_to_string(enum radeon_bo_priority priority) ITEM(SDMA_BUFFER), ITEM(SDMA_TEXTURE), ITEM(CP_DMA), - ITEM(SHADER_BINARY), ITEM(CONST_BUFFER), ITEM(DESCRIPTORS), ITEM(BORDER_COLORS), @@ -571,6 +570,7 @@ static const char *priority_to_string(enum radeon_bo_priority priority) ITEM(CMASK), ITEM(DCC), ITEM(HTILE), + ITEM(SHADER_BINARY), ITEM(SHADER_RINGS), ITEM(SCRATCH_BUFFER), };