diff options
author | Roland Scheidegger <[email protected]> | 2014-08-28 00:43:32 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2014-08-30 01:17:47 +0200 |
commit | c9ae5038d564ec10a12658a2440cf49f83f1fab8 (patch) | |
tree | 6ca5c0615990c48d2b64f3fa6c7215e06e773fcc /src/gallium/drivers/r300/r300_resource.c | |
parent | 032fe4ed233e5cc2c2da9f453087745ff4ee1277 (diff) |
softpipe: don't assert on illegal wrap mode for rect textures
piglit tex-miplevel-selection nowadays doesn't use repeat wrap mode due to
sampler objects any longer, however at the time of the clear the wrap mode
is still illegal and at this point we get to verify the state, including
samplers (even though they won't get used), and because mesa doesn't treat
it as an incomplete texture as the spec says it should, we hit the assertion.
Just warn about this for now instead.
Gets crashes down from 44 to 14 in a piglit run (all were in various tests of
tex-miplevel-selection with texture rectangles). Though just about all
tex-miplevel-selection tests fail anyway for other reasons.
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r300/r300_resource.c')
0 files changed, 0 insertions, 0 deletions