r600g: add flat non-interpolation support.
authorDave Airlie <airlied@redhat.com>
Thu, 15 Sep 2011 11:38:10 +0000 (12:38 +0100)
committerDave Airlie <airlied@redhat.com>
Fri, 16 Sep 2011 08:25:48 +0000 (09:25 +0100)
commit21c5607e64ca4ef68730d8e846d8e7744ecdd024
treee73d01045a1cad7f34546c7de227aa7e6425c3a6
parentde3218664a03ee116ca58db571f90a6914299a81
r600g: add flat non-interpolation support.

TGSI CONSTANT interpolation is just flat, and we just read the values
direct from the LDS into the GPR without doing any interpolation on them.

This is needed to pass integer types into the fragment shader.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_asm.c
src/gallium/drivers/r600/r600_opcodes.h
src/gallium/drivers/r600/r600_shader.c