Summary: |
[r300g] translate_rgb_op: unknown opcode ILLEGAL OPCODE |
Product: |
Mesa
|
Reporter: |
Remi Meier <remi.meier> |
Component: |
Drivers/DRI/r300 | Assignee: |
Default DRI bug account <dri-devel> |
Status: |
RESOLVED
FIXED
|
QA Contact: |
|
Severity: |
normal
|
|
|
Priority: |
medium
|
|
|
Version: |
git | |
|
Hardware: |
Other | |
|
OS: |
Linux (All) | |
|
Whiteboard: |
|
i915 platform:
|
|
i915 features:
|
|
Attachments: |
RADEON_DEBUG="fp" output
|
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.
Created attachment 36952 [details] 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