summaryrefslogtreecommitdiffstats
path: root/src/gallium/README.portability
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2014-01-11 19:42:04 -0500
committerMaarten Lankhorst <[email protected]>2014-01-27 16:40:42 +0100
commit6f3219a8f34296cfd21c165ca4d41d7e62bb4cf5 (patch)
tree9d397e38e38580a3e3d70ff5e40b3cb539e38216 /src/gallium/README.portability
parentf77069419a644e57d3f1baf708a58c699fa16ca5 (diff)
nv50/ir: add support for gl_PrimitiveIDIn
Note that the primitive id is stored in a[0x18], while usually the geometry instructions are of the form a[$a1 + 0x4] which gets mapped to p[] space. We need to avoid the change from a[] to p[] here, so it's keyed on whether the access is indirect or not. Note that there's also a use-case for accessing e.g. a[$r1], however that's not supported for now. (Could be added by checking the register file of the indirect parameter.) Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/README.portability')
0 files changed, 0 insertions, 0 deletions