diff options
author | Eric Anholt <eric@anholt.net> | 2010-07-02 16:17:50 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-07-02 17:06:23 -0700 |
commit | 4e7d5d0e74c26cac182cea1be0f6b79bb664ad8c (patch) | |
tree | c71ecff054e381538c1c136f41c46f65f0aa2e43 /common.py | |
parent | 8f25d198e54a117b36e68582977a644d085a4a94 (diff) |
i965: Add support for the DP2 opcode, which we use for dot(vec2, vec2).
The original glsl compiler would generate a.x * b.x + a.y * b.y, which
we would do mul+mul+add for instead of this mul+mac.
Fixes glsl-fs-dot-vec2.
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions