Bug 11881

Summary: atifragshader.c falsy test on GL_SWIZZLE_STR_ATI<=swizzle<=GL_SWIZZLE_STQ_DQ_ATI
Product: Mesa Reporter: Roland "Test-tools" Bär <roland>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium Keywords: patch
Version: unspecified   
Hardware: Other   
OS: All   
i915 platform: i915 features:
Attachments: corrected logic

Description Roland "Test-tools" Bär 2007-08-07 02:38:51 UTC
That tests can't be true: 
   if ((swizzle < GL_SWIZZLE_STR_ATI) && (swizzle > GL_SWIZZLE_STQ_DQ_ATI)) {
Please apply attached patch, seams to me what was intended
Comment 1 Roland "Test-tools" Bär 2007-08-07 02:39:33 UTC
Created attachment 11031 [details] [review]
corrected logic
Comment 2 Brian Paul 2007-08-07 13:44:49 UTC
fixed in 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.