summaryrefslogtreecommitdiffstats
path: root/src/glx/indirect_transpose_matrix.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2013-08-30 12:47:02 -0700
committerEric Anholt <[email protected]>2013-09-30 14:35:42 -0700
commit97bdb4c039bb33dbbcbb43d0fd0bb24106777ae9 (patch)
tree296491ea1ae1251369be1540644fe29eb36deef0 /src/glx/indirect_transpose_matrix.c
parent6ca9b532d825797741a2fef519f17c21e0d6cb94 (diff)
i965: Don't allocate a 1-level texture when GL_GENERATE_MIPMAP is set.
Given that a teximage that calls us with this flag set will immediately proceed to allocate the other levels, we can probably just go ahead and allocate those levels now. Reduces miptree copies in piglit by about .05%. Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/glx/indirect_transpose_matrix.c')
0 files changed, 0 insertions, 0 deletions