summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2016-04-14 16:27:03 +0000
committerTom Stellard <thomas.stellard@amd.com>2016-04-14 16:27:03 +0000
commitf110f8f9f7f46c668e03f4808e03aa54c2157269 (patch)
treef4068cf2159f1f9e420c3519154be882f45c8ba9 /lldb/packages/Python/lldbsuite/test/python_api
parent4f1e8c94bfd013223590d83fb11eeff110600440 (diff)
downloadbcm5719-llvm-f110f8f9f7f46c668e03f4808e03aa54c2157269.tar.gz
bcm5719-llvm-f110f8f9f7f46c668e03f4808e03aa54c2157269.zip
AMDGPU/SI: Use the correct scratch wave offset register for shaders.
Summary: The code previously always used s1 as it was using the user + system SGPR information for compute kernels. This is incorrect for Mesa shaders though, The register should be the next SGPR after all user and system SGPR's. We use that Mesa adds arguments for all input and system SGPR's and take the next available SGPR for the scratch wave offset register. Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Reviewers: mareko, arsenm, nhaehnle, tstellarAMD Subscribers: qcolombet, arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D18941 Patch By: Bas Nieuwenhuizen llvm-svn: 266336
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud