diff options
author | Dave Airlie <[email protected]> | 2018-01-18 02:31:40 +0000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2018-01-18 19:47:40 +0000 |
commit | 3153d742078d9842d867e8affddf0b157de762f0 (patch) | |
tree | 8c41427cc6b6c91467fb679e8ea49d58a976dd51 /src/glx/dri_common_query_renderer.c | |
parent | 5758a8c4027459fa5b51d47b4aba95c5126f3bfe (diff) |
ac/nir: account for view index in the user sgpr allocation.
The view index user sgpr wasn't being accounted for properly,
this refactors out the code to decide if it's required and then
uses that info to account for it.
Fixes: 180c1b924e (ac/nir: Add shader support for multiviews.)
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/glx/dri_common_query_renderer.c')
0 files changed, 0 insertions, 0 deletions