Input handling rework for SI

Christian König christian.koenig at amd.com
Tue Mar 5 06:23:33 PST 2013


Hi guys,

while working on indirect addressing for radeonsi (and YES I have 
indirect addressing of consts working and now on the way of getting 
source-indirect addressing of temps/inputs working) I stumbled over a 
whole bunch of problems with the way we currently handle vertex and 
pixel shader input registers. Especially the handling of M0 was sucking 
badly, and was easily broken by my new code.

So please take a look at the attached patches. I have to confess that it 
gotten much further than I expected, but I think the way those patches 
now handle function parameters is much much more cleaner than we did before.

The matching mesa patches should hit the maillinglist in few minutes.

Cheers,
Christian.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-R600-SI-fix-unused-variable-warning.patch
Type: text/x-patch
Size: 1119 bytes
Desc: 0001-R600-SI-fix-unused-variable-warning.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130305/2adaf3ba/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-R600-SI-switch-types-of-SGPRs-to-v-i8.patch
Type: text/x-patch
Size: 5054 bytes
Desc: 0002-R600-SI-switch-types-of-SGPRs-to-v-i8.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130305/2adaf3ba/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-R600-SI-remove-shader-type-intrinsic.patch
Type: text/x-patch
Size: 4874 bytes
Desc: 0003-R600-SI-remove-shader-type-intrinsic.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130305/2adaf3ba/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-R600-SI-add-proper-formal-parameter-handling-for-SI.patch
Type: text/x-patch
Size: 11778 bytes
Desc: 0004-R600-SI-add-proper-formal-parameter-handling-for-SI.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130305/2adaf3ba/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-R600-SI-remove-SGPR-address-space.patch
Type: text/x-patch
Size: 6057 bytes
Desc: 0005-R600-SI-remove-SGPR-address-space.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130305/2adaf3ba/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-R600-SI-remove-SI_vs_load_buffer_index.patch
Type: text/x-patch
Size: 2704 bytes
Desc: 0006-R600-SI-remove-SI_vs_load_buffer_index.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130305/2adaf3ba/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-R600-SI-rework-input-interpolation.patch
Type: text/x-patch
Size: 20572 bytes
Desc: 0007-R600-SI-rework-input-interpolation.patch
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130305/2adaf3ba/attachment-0006.bin>


More information about the llvm-commits mailing list