Bug 6673 - nvvertparse doesn't parse swizzle suffix correctly
Summary: nvvertparse doesn't parse swizzle suffix correctly
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: mesa-dev
QA Contact:
Keywords: patch
Depends on:
Reported: 2006-04-20 09:04 UTC by Tilman Sauerbeck
Modified: 2009-08-24 12:23 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

Patch (648 bytes, patch)
2006-04-20 09:05 UTC, Tilman Sauerbeck
Details | Splinter Review

Description Tilman Sauerbeck 2006-04-20 09:04:56 UTC
SrcReg->Swizzle is always initialized to SWIZZLE_NOOP, and if the program
specifies a 2/3/4-compontent swizzle suffix, SrcReg->Swizzles is just ORed
against the new component values, without resetting it first.

Attached patch makes tests/vptest2 pass.
Comment 1 Tilman Sauerbeck 2006-04-20 09:05:19 UTC
Created attachment 5395 [details] [review]
Comment 2 Dave Airlie 2006-04-20 09:13:58 UTC
commited to CVS
Comment 3 Adam Jackson 2009-08-24 12:23:50 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.