summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/es1_conversion.c
diff options
context:
space:
mode:
authorChris Forbes <[email protected]>2013-02-16 21:38:20 +1300
committerChris Forbes <[email protected]>2013-03-31 22:19:22 +1300
commit788b0f85357e10c883cb65d0544a039412366129 (patch)
treedbc0789b761b5e585944b0bb65c8d8e8cbe2cc15 /src/mesa/main/es1_conversion.c
parent7f32b9560b63ffa6967bbc0c8e61d2cc30081ab3 (diff)
mesa: add support for immutable textures to teximagemultisample()
The new entrypoints will come later, but this adds the actual logic for supporting immutable multisample textures: - The immutability flag is set as desired. - Attempting to modify an immutable multisample texture produces INVALID_OPERATION. Note: The extension spec does not mention adding this behavior to TexImage*Multisample, but it seems like the reasonable thing to do. V2: - Cover missing error cases (unsized formats; texture object zero) Signed-off-by: Chris Forbes <[email protected]> [V1] Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/es1_conversion.c')
0 files changed, 0 insertions, 0 deletions