summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_shader.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-06-21 17:38:20 -0700
committerEric Anholt <[email protected]>2011-06-24 10:37:22 -0700
commit0c27dcb75cf43bd58d32c3d5d580f0d3145e27d8 (patch)
treed257f4f32215974c81a6d01e26b374982b2a2fe8 /src/gallium/drivers/r600/r600_shader.c
parent3541cc0d40f86d8ea63a876b7215831335ec677d (diff)
i965: Make the brw_format_for_mesa_format table static const.
Once again, assuming the compiler is clever works out so poorly. The generated code initialized the structure on the stack, then did a lookup into it. This was a performance regression from 70c6cd39bd9396b0d3f9e84df41fd8bef1f26cc4. Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_shader.c')
0 files changed, 0 insertions, 0 deletions