Bug 29437 - [r300g] glean/glsl1-function fails with unknown opcode errors
Summary: [r300g] glean/glsl1-function fails with unknown opcode errors
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/r300 (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-07 09:31 UTC by Priit Laes (irc: plaes)
Modified: 2010-08-17 19:14 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
glxinfo.log (21.89 KB, text/plain)
2010-08-07 09:32 UTC, Priit Laes (irc: plaes)
Details

Description Priit Laes (irc: plaes) 2010-08-07 09:31:57 UTC
Kernel: 2.6.35
Mesa: git master d64a119c28376d7ce069dcec044ff9af7f93ff9c

Results for glean/glsl1-function with early return (1)
Returncode: 0

Errors:
r300: Unknown TGSI/RC opcode: CAL
r300: Unknown TGSI/RC opcode: BGNSUB
r300: Unknown TGSI/RC opcode: ENDSUB
r300 FP: Compiler Error:
r300_fragprog_emit.c::translate_rgb_opcode(): translate_rgb_opcode: Unknown opcode ILLEGAL OPCODE
Using a dummy shader instead.
If there's an 'unknown opcode' message, please file a bug report and attach this log.


Output:
----------------------------------------------------------------------
GLSL test 1: test basic Shading Language functionality.

glsl1: Running single test: function with early return (1)
FAILURE:
  Shader test: function with early return (1)
  Expected color: 0.25, 0.25, 0.25, 0.25
  Observed color: 0, 0, 0, 1
glsl1:  FAIL rgba8, db, z24, s8, win+pmap, id 33
	0 tests passed, 1 tests failed.
Comment 1 Priit Laes (irc: plaes) 2010-08-07 09:32:35 UTC
Created attachment 37671 [details]
glxinfo.log

OpenGL vendor string: X.Org R300 Project
OpenGL renderer string: Gallium 0.4 on RV370
OpenGL version string: 2.1 Mesa 7.9-devel
OpenGL shading language version string: 1.20
Comment 2 Marek Olšák 2010-08-17 19:14:54 UTC
Fixed with the new GLSL compiler. Closing...


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.