summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/scissor.h
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2012-11-20 13:45:03 -0800
committerIan Romanick <[email protected]>2013-01-15 13:34:00 -0800
commitcbef5371f6cb0a03f62586f7c5b4ed66511daff4 (patch)
treecfa8029f854507c2bd188631ff300548bfc483eb /src/mesa/main/scissor.h
parent8907b6a8e4461f6064e32ff5419053e74274e770 (diff)
mesa: Reject texture-only formats as renderbuffer formats in ES 3
ES 3 specifies some formats as texture-only (i.e., not available for renderbuffers). See the "Required Texture Formats" section (pg 126) of the ES 3 spec. v2: Allow RED and RG float rendering in core profiles The check used to be (version > 30) || (compat profile w/extensions). Just deleting <version > 30) broke 3.0+ core profiles. Fixes es3conform's color_buffer_unsupported_format test. Signed-off-by: Matt Turner <[email protected]> Signed-off-by: Ian Romanick <[email protected]> Acked-by: Kenneth Graunke <[email protected]> Reviewed-by: Anuj Phogat <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/scissor.h')
0 files changed, 0 insertions, 0 deletions