diff options
author | Brian Paul <[email protected]> | 2013-02-14 12:24:02 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-02-15 09:25:14 -0700 |
commit | 4be5a067527107a383596c28f14bd76492c1cb4b (patch) | |
tree | ff5e226cc7aaaf342f60037b84850eb173537c49 /src/glsl/link_uniforms.cpp | |
parent | c37992c54d753e732783f712dea2d483450371dd (diff) |
st/mesa: fix format query for GL_ARB_texture_rg
The GL_ARB_texture_rg spec says that we need to support both texturing
and rendering for the GL_RED and GL_RG formats. So move the format
check up into the rendertarget_mapping[] list. Also, add
PIPE_FORMAT_R8_UNORM to the list of formats required.
Note: This is a candidate for the stable branches.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/glsl/link_uniforms.cpp')
0 files changed, 0 insertions, 0 deletions