diff options
author | Roland Scheidegger <[email protected]> | 2013-09-19 17:13:18 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2013-09-19 17:14:36 +0200 |
commit | 532dc8939f81c1fe2ecd37fda9dfb24ee38ae201 (patch) | |
tree | a14a53453980bdd06915385f089e21213e769f74 /src/gallium/auxiliary/vl/vl_mpeg12_bitstream.c | |
parent | 602d368446e7c97225f98429ffd54b53522c3b36 (diff) |
gallivm: adjust wrap mode to CLAMP_TO_EDGE always for cube maps.
Technically without seamless filtering enabled GL allows any wrap mode, which
made sense when supporting true borders (can get seamless effect with border
and CLAMP_TO_BORDER), but gallium doesn't support borders and d3d9 requires
wrap modes to be ignored and it's a pain to fix up the sampler state (as it
makes it texture dependent). It is difficult to imagine a situation where an
app really wants another behavior so just cheat here. (It looks like some
graphics hw (intel) actually requires this too hence it should be safe.)
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_mpeg12_bitstream.c')
0 files changed, 0 insertions, 0 deletions