OSDN Git Service

radeonsi: hardcode shader WAVE_LIMIT to the maximum value
authorAndres Rodriguez <andresx7@gmail.com>
Fri, 20 Oct 2017 22:02:13 +0000 (18:02 -0400)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 20 Oct 2017 23:01:44 +0000 (01:01 +0200)
commit557de3b9ae2e0a1889442bb48f731d69c993a027
tree56268752dfaf301a4a8447a81a9c1f0f604e023a
parent986c4b0bd4eb5115d656ccbc0351bd824ff7e413
radeonsi: hardcode shader WAVE_LIMIT to the maximum value

This is part of a cooperative scheduling approach used by radv. All
drivers in the stack must opt-in to resource arbitration, otherwise GL
based apps will be able to ignore system priorities.

We always hardcode the field to its maximum value, instead of attempting
to calculate an approximate usage. In testing, there were no benefits to
using anything other than the maximum.

Signed-off-by: Andres Rodriguez <andresx7@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/gallium/drivers/radeonsi/si_state.c