summaryrefslogtreecommitdiffstats
path: root/src/glsl/builtins/ir
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-01-21 11:41:02 -0700
committerBrian Paul <[email protected]>2013-01-22 14:53:58 -0700
commitab74fee5e1a3fc3323b7238278637b232c2d0d95 (patch)
treedc8b655c0e8c5a923d5984e60d1cff52a6d961df /src/glsl/builtins/ir
parented643d6b2fa11082f617f24040c73d2c58ca09bf (diff)
draw: fix problem in screen-space interpolation clip code
I don't see how this could have ever worked right. The screen-space interpolation code uses the vertex->data[pos_attr] position which contain window coords. But window coords are only computed for the unclipped vertices; the clipped vertices have undefined window coords (see draw_cliptest_tmp.h). Use the vertex clip coords instead which are always defined. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=55476 (piglit fbo-blit-stretch failure on softpipe) Note: This is a candidate for the 9.0 branch. Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/glsl/builtins/ir')
0 files changed, 0 insertions, 0 deletions