summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv50/nv50_context.h
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2010-01-16 16:57:34 +0100
committerChristoph Bumiller <[email protected]>2010-01-16 18:07:30 +0100
commite791e6f27cd8cac7f3a29a981cee1fd2070c94ed (patch)
tree1f9c7ced6ec54249927d047247cbc5195472cc8d /src/gallium/drivers/nv50/nv50_context.h
parent8d2427375049473fe9be49b1058de5a405b2eabf (diff)
nv50: get access to primitive input space
Vertex data in geometry programs is located in p[] space. The base address in p[] for vertex i is located in vertex attribute space, i.e. a[i << 2]. This means p[] is always accessed with an address register, and I had to to mess with their allocation once again. Also fixes negative offsets e.g. CONST[ADDR[0].x - 3].
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_context.h')
0 files changed, 0 insertions, 0 deletions