OSDN Git Service

nv50/ir: make use of TGSI_INTERPOLATE_COLOR
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Thu, 12 Jan 2012 18:28:03 +0000 (19:28 +0100)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Tue, 24 Jan 2012 19:50:02 +0000 (20:50 +0100)
commitf97ee6460670b8c69cd878eb67f4f0b0fbc92786
treebecf645ebca25893c599e0ff8501fd1427f086a3
parent4ac2e2f1592b7c91c57f5d72ba8601d1ee0c1234
nv50/ir: make use of TGSI_INTERPOLATE_COLOR

Flat SHADE_MODEL still overrides any non-flat interpolation
qualifier, but pulling that state out of the rasterizer cso
isn't really worth the effort, is it ?

NOTE: This is a candidate for the 8.0 branch.
(cherry picked from commit af0ce1dba8219ff8628f1fa61cf93c11a77dab94)
src/gallium/drivers/nv50/codegen/nv50_ir_driver.h
src/gallium/drivers/nv50/codegen/nv50_ir_from_tgsi.cpp
src/gallium/drivers/nvc0/codegen/nv50_ir_lowering_nvc0.cpp