Skip to contentSkip to conversation

New: [r300g] translate_rgb_op: unknown opcode ILLEGAL OPCODE

Bug 29013 [email protected] 1 participant 2 messages Jul 12, 2010 – Aug 18, 2010

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=29013

Summary: [r300g] translate_rgb_op: unknown opcode ILLEGAL
OPCODE
Product: Mesa
Version: git
Platform: Other
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/r300
AssignedTo: [email protected]
ReportedBy: [email protected]

Created an attachment (id=36952)
--> (https://bugs.freedesktop.org/attachment.cgi?id=36952)
RADEON_DEBUG="fp" output

A small fragment shader produces the following output:
--------------------------------------------------------------
r300: Unknown TGSI/RC opcode: CAL
r300: Unknown TGSI/RC opcode: BGNSUB
r300: Unknown TGSI/RC opcode: ENDSUB
r300 FP: Compiler Error:
r500_fragprog_emit.c::translate_rgb_op(): translate_rgb_op: 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.
--------------------------------------------------------------

The shader looks like this:
--------------------------------------------------------------
vec3 floatToColor(float x)

{
    if(x == 1.0)
        return vec3(0, 0, 0);
}

void main()

{
    gl_FragColor.rgb = floatToColor(1);
}

--------------------------------------------------------------

RADEON_DEBUG="fp" output is attached

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 29013] [r300g] translate_rgb_op: unknown opcode ILLEGAL OPCODE

https://bugs.freedesktop.org/show_bug.cgi?id=29013

Marek Olšák <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Marek Olšák <[email protected]> 2010-08-17 19:19:30 PDT --- Fixed with the new GLSL compiler. Closing..

Signature · 7 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel