Summary: | GLSL compiler uses MUL+ADD where it could use MAD | ||
---|---|---|---|
Product: | Mesa | Reporter: | Filippo Argiolas <filippo.argiolas> |
Component: | Drivers/DRI/i915 | Assignee: | Eric Anholt <eric> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | minor | ||
Priority: | medium | ||
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | |||
Bug Blocks: | 29044 |
Description
Filippo Argiolas
2010-04-30 07:52:05 UTC
Yeah, this is the sort of thing that the codegen in the new compiler will handle very easily but which is a pain to do in Mesa today. On the glsl2 branch: commit 3f08989267d9cdd944787fcf7a300c6f1f84462c Author: Eric Anholt <eric@anholt.net> Date: Mon Jul 12 19:28:07 2010 -0700 ir_to_mesa: Emit OPCODE_MAD when we find an ADD of a MUL. Bug #27914. GLSL2 branch is now merged. |
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.