Bug 5864

Summary: NV vertex program parser doesn't set program->NumInstructions
Product: Mesa Reporter: Tilman Sauerbeck <tilman>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high Keywords: patch
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
i915 platform: i915 features:
Attachments: Patch
Patch 2

Description Tilman Sauerbeck 2006-02-12 02:41:33 UTC
_mesa_parse_nv_vertex_program() doesn't set program->Base.NumInstructions, which
causes various errors. For (a bad) example, _mesa_print_program() relies on that
Comment 1 Tilman Sauerbeck 2006-02-12 02:42:13 UTC
Created attachment 4597 [details] [review]
Comment 2 Tilman Sauerbeck 2006-02-12 12:50:42 UTC
Created attachment 4600 [details] [review]
Patch 2

The same bug is present in nvfragparse.c as well. This new patch fixes the
problem in both places.
Comment 3 Tilman Sauerbeck 2006-02-15 09:58:07 UTC
Any comments? :)
Comment 4 Brian Paul 2006-02-16 03:03:12 UTC
Fixed in CVS.  Thanks.
Comment 5 Adam Jackson 2009-08-24 12:23:42 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.