nv50/ir: add support for different sampler and resource index on nve4
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sat, 2 Mar 2013 20:00:26 +0000 (21:00 +0100)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Tue, 12 Mar 2013 11:55:36 +0000 (12:55 +0100)
commit7a91d3a2a4c4e7851fdb46465224213ce1874c9b
tree43eb651c53d47a85881ffc976f7ac7666ea7a110
parent99e4eba669f13a0dc80880f4f91e2338377c1667
nv50/ir: add support for different sampler and resource index on nve4

And remove non-working code for indirect sampler/resource selection.
Will be added back later.

Includes code from "nv50/ir/tgsi: Resource indirect indexing" by
Francisco Jerez (when mixing the R and S handles we can only specify
them via a register, i.e. indirectly, unless we upload all the used
handle combinations to c[] space, which we don't for now).
src/gallium/drivers/nv50/codegen/nv50_ir.cpp
src/gallium/drivers/nv50/codegen/nv50_ir.h
src/gallium/drivers/nvc0/codegen/nv50_ir_lowering_nvc0.cpp