diff options
author | Chris Forbes <[email protected]> | 2014-03-10 21:36:22 +1300 |
---|---|---|
committer | Chris Forbes <[email protected]> | 2014-04-10 18:27:40 +1200 |
commit | 61e264f4fcdba3623781a0a339426672f0d431e4 (patch) | |
tree | bff1e9aca0578875812697aa6b31b66094eab9a3 /src/mesa/state_tracker/st_manager.h | |
parent | 58790043bb9e222f54994eba6ec78429d0d23625 (diff) |
mesa: Prefer non-swizzled formats for most sized internalformats
These formats can be cast to others (with different component types or
sizes) via ARB_texture_view or ARB_shader_image_load_store. We want
them to be laid out consistently so that we can just reinterpret the
memory with a different format.
In V1, this was done conditionally on a 'prefer_no_swizzle' flag which
was set in TexStorage/TextureView paths, but we need the same behavior
for ARB_shader_image_load_store (which also works with images created
via TexImage, so we don't want it to be conditional.
Signed-off-by: Chris Forbes <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Acked-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_manager.h')
0 files changed, 0 insertions, 0 deletions