diff options
author | Olivier Galibert <[email protected]> | 2012-05-15 22:10:08 +0200 |
---|---|---|
committer | José Fonseca <[email protected]> | 2012-05-16 13:12:04 +0100 |
commit | 982df3c1a5e99e43f28f849419d4379e6e5d5d05 (patch) | |
tree | 7b5f74f63d44d234d5fc9d854280ca3e5263404c /src/gallium/drivers/llvmpipe/lp_state_fs.c | |
parent | 40507568047f5e5e044d1b5c25587f85a6f9bf53 (diff) |
llvmpipe: Color slot interpolation can be flat or perspective, not linear.
Fixes a bunch of glsl 1.10 interpolation piglit tests.
Signed-off-by: Olivier Galibert <[email protected]>
Signed-off-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_state_fs.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state_fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe/lp_state_fs.c index d16952c2ec1..11a3871c408 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_fs.c +++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c @@ -555,7 +555,7 @@ generate_fragment(struct llvmpipe_context *lp, if (key->flatshade) inputs[i].interp = LP_INTERP_CONSTANT; else - inputs[i].interp = LP_INTERP_LINEAR; + inputs[i].interp = LP_INTERP_PERSPECTIVE; } } |