radeonsi/gfx10: move GE_PC_ALLOC setting to shader states
authorMarek Olšák <marek.olsak@amd.com>
Tue, 24 Dec 2019 18:50:06 +0000 (13:50 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 20 Jan 2020 21:16:11 +0000 (16:16 -0500)
commitaa2d846604b7e46f98c05242f4f97b3508bf183e
treed978933c702e9da7697842cef3f5454bf4d016a2
parent41fef6fc09b9e8913dc0cf6e926fa109c680f9c2
radeonsi/gfx10: move GE_PC_ALLOC setting to shader states

The value is not changed. I just use a different way to compute it.

The value will vary with NGG culling.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
src/gallium/drivers/radeonsi/si_gfx_cs.c
src/gallium/drivers/radeonsi/si_shader.h
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_state.h
src/gallium/drivers/radeonsi/si_state_shaders.c