[PATCH] D19894: AMDGPU: Fix not counting shader input registers

Marek Olšák via llvm-commits llvm-commits at lists.llvm.org
Fri May 6 02:59:29 PDT 2016


mareko added a comment.

s/UserSGPR/InputSGPR/
s/UserReg/InputReg/

The LLVM backend can't deduce the number of user SGPRs, because Mesa doesn't supply that information. LLVM only receives the list of all input SGPRs. Some of them come from USER DATA, others are preloaded by the hardware based on other states, etc.


http://reviews.llvm.org/D19894





More information about the llvm-commits mailing list