diff options
author | Marek Olšák <[email protected]> | 2012-01-25 01:01:54 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-01-29 02:19:58 +0100 |
commit | 41a4e274a4e78087ce8eafbabc3713ed75bb4759 (patch) | |
tree | 625b4dc34b55acd2d93a02519027d3ed731ca1d0 /src/gallium/drivers/r300/r300_reg.h | |
parent | c21d7b1e30edfc0e400836705645d188a0f538cd (diff) |
st/mesa: use table-driven approach to exposing extensions for formats (v3)
The check for ctx->API was unnecessary, because OES extensions are not exposed
in desktop GL.
Also require renderbuffer support for ARB_texture_rgb10_a2ui,
as per the spec.
Tested by comparing old and new glxinfo with softpipe and r600g.
v2: fix bugs
v3: rename need_only_one -> need_at_least_one
rename num_elements -> num_mappings
add comments
use const when appropriate
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r300/r300_reg.h')
0 files changed, 0 insertions, 0 deletions