Bug 19190

Summary: Humus Dynamic branching 3 demo fails with Invalid array index for vector type
Product: Mesa Reporter: Sven Arvidsson <sa>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
URL: http://www.humus.name/index.php?page=3D&ID=67
Whiteboard:
i915 platform: i915 features:

Description Sven Arvidsson 2008-12-19 14:57:07 UTC
The Dynamic branching 3 demo fails to run with this error;

 Fragment shader error:
 Error: Invalid array index for vector type
 Error: Invalid array index for vector type

http://www.humus.name/index.php?page=3D&ID=67

Using master, commit d9b92b112fb64005c71edf1158f7dffabc4659bb
Comment 1 Sven Arvidsson 2009-01-07 07:08:28 UTC
After grabbing the fix in 1fa978c8911d00e7cac0a114110e98ebdbe4d57d I can run the demo. I get these errors now, but I guess these are specific to the i965 driver and the same as bug 19192?

Mesa 7.3-devel implementation error: Unsupported opcode 8 (BGNLOOP) in vertex shader
Please report at bugzilla.freedesktop.org
Mesa 7.3-devel implementation error: Unsupported opcode 11 (BRK) in vertex shader
Please report at bugzilla.freedesktop.org
Mesa 7.3-devel implementation error: Unsupported opcode 27 (ENDLOOP) in vertex shader
Please report at bugzilla.freedesktop.org
unsupported IR in fragment shader 5
Comment 2 Brian Paul 2009-01-07 07:15:01 UTC
Yeah, it's the same i965 issue.  Though, the dynamic branching demo still isn't rendering correctly with software rendering either.
Comment 3 Sven Arvidsson 2009-06-17 15:08:46 UTC
Using git master, commit 3817a54912a6c51fa0a7ec64787a69007bda44fa, it seems to work fine now, or am I missing something?
Comment 4 Brian Paul 2009-06-18 07:53:55 UTC
We still haven't added loop support for i965 vertex programs so I'm not sure why you're not still seeing those error messages.
Comment 5 Ian Romanick 2009-06-18 10:45:28 UTC
(In reply to comment #4)
> We still haven't added loop support for i965 vertex programs so I'm not sure
> why you're not still seeing those error messages.

I believe that the loop unrolling code you added awhile back may "fix" this particular case.  If looping really is (was) the only problem with this demo, we should close it as a dup of bug #20171.
Comment 6 Adam Jackson 2009-08-24 12:31:26 UTC
Mass version move, cvs -> git
Comment 7 Sven Arvidsson 2009-09-11 09:57:35 UTC
Since bug #20171 has been fixed, and this demo still runs fine, I guess it really have been fixed now.

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.