Bug 10913 - vector_program implement wrong with EX2 instruction
Summary: vector_program implement wrong with EX2 instruction
Status: VERIFIED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: Other Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-11 00:30 UTC by WuNian
Modified: 2009-08-24 12:26 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
test case (2.12 KB, text/plain)
2007-05-11 00:30 UTC, WuNian
Details

Description WuNian 2007-05-11 00:30:33 UTC
Call glProgramStringARB with instruction EX2, then draw a point, the result texture got in feedback mode is incorrect.
Comment 1 WuNian 2007-05-11 00:30:56 UTC
Created attachment 9922 [details]
test case
Comment 2 Brian Paul 2007-05-11 07:42:35 UTC
The problem was texcoords returned by feedback were getting divided by Q, i.e. (s/q, t/q, r/q, 1.0).  Evidently, that's incorrect and texcoords should be returned unprojected.
Fixed in git.
Comment 3 Brian Paul 2007-05-11 08:25:42 UTC
Oh, one other comment about your test program.  The vertex program doesn't write to 'result.position'.  Off-hand I don't recall what the GL_ARB_v_p spec says about that, but if the position is undefined, the vertex/GL_POINT may get clipped away and produce no feedback at all.
Comment 4 Adam Jackson 2009-08-24 12:26:45 UTC
Mass version move, cvs -> git


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.