nv50: rework primid logic
authorIlia Mirkin <imirkin@alum.mit.edu>
Tue, 4 Feb 2014 04:20:32 +0000 (23:20 -0500)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 6 Feb 2014 23:02:57 +0000 (18:02 -0500)
commitc7373b7dc7202b93eecc1072efda7319b1ad0da8
tree5ba567c74ed320d899bdc78b0fcafb8cb89b4033
parentf658150639c36eda351590e757247c56507f494f
nv50: rework primid logic

Functionally identical but much simpler. Should also better integrate
with future layer/viewport changes/fixes.

Cc: 10.1 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Christoph Bumiller <e0425955@student.tuwien.ac.at>
src/gallium/drivers/nouveau/nv50/nv50_program.c
src/gallium/drivers/nouveau/nv50/nv50_program.h
src/gallium/drivers/nouveau/nv50/nv50_shader_state.c