| commit | 1397d49ef5772833179e9edb53697c156e074dcc | [log] [tgz] |
|---|---|---|
| author | Tom Stellard <thomas.stellard@amd.com> | Thu Feb 11 21:45:07 2016 +0000 |
| committer | Tom Stellard <thomas.stellard@amd.com> | Thu Feb 11 21:45:07 2016 +0000 |
| tree | 2ca0f4291c75564ca551561dfc7ecb76f418d1ca | |
| parent | f9de0d6904cde91fb4b9c7701be2f907717f2c07 [diff] |
AMDGPU/SI: Make sure MIMG descriptors and samplers stay in SGPRs Summary: It's possible to have resource descriptors and samplers stored in VGPRs, either by a VMEM instruction or in the case of samplers, floating-point calculations. When this happens, we need to use v_readfirstlane to copy these values back to sgprs. Reviewers: mareko, arsenm Subscribers: arsenm, llvm-commits Differential Revision: http://reviews.llvm.org/D17102 llvm-svn: 260599