summaryrefslogtreecommitdiffstats
path: root/src/gallium/docs
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2014-07-10 09:37:39 -0600
committerBrian Paul <[email protected]>2014-07-10 10:59:40 -0600
commitc45b9b572159983a20cf771016c3528a423643e1 (patch)
treeb740caded7372a566f2fbf98cc1cd4a0aad3f7a6 /src/gallium/docs
parentfaa6b0cdc30c327871d7639ca3f1da5057d90d0a (diff)
softpipe: fix sp_get_dims() for PIPE_BUFFER
Before, we were checking the level against view->u.tex.last_level but level is not valid for buffers. Plus, the aliasing of the view->u.tex view->u.buf members (a union) caused the level checking arithmetic to be totally wrong. The net effect is we always returned early for PIPE_BUFFER size queries. This fixes the piglit "textureSize 140 fs samplerBuffer" test. Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/docs')
0 files changed, 0 insertions, 0 deletions