diff options
author | Samuel Pitoiset <[email protected]> | 2017-12-20 20:57:35 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-01-05 09:49:51 +0100 |
commit | 7643c715278caa8c98246c2359d7a70ecb3b7455 (patch) | |
tree | f8d594a01afca7eb672b9bb280e884c0f05067b6 /src/amd/common/gfx9d.h | |
parent | 50cfad0298bbb4e341664ed0ec8b4d9b429988dc (diff) |
amd/common: correctly detect if we need ring buffers
When allocate_user_sgprs() was called, ctx->stage was actually
unset and 0 is for the vertex shader. This doesn't change
anything for now because of the spill support thing.
Though, the number of user SGPRs has to be fixed for merged
shaders on GFX9. It was broken before anyway.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/common/gfx9d.h')
0 files changed, 0 insertions, 0 deletions