summaryrefslogtreecommitdiffstats
path: root/docs/README.QUAKE
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-11-17 17:26:41 -0800
committerEric Anholt <[email protected]>2011-11-29 16:44:51 -0800
commited945b0bc73356ff8aa4f73616738e5926f73599 (patch)
tree8220457588014750cf25f8b9ad468cefd0a12505 /docs/README.QUAKE
parentd2235b0f4681f75d562131d655a6d7b7033d2d8b (diff)
mesa: Fix the datatype of GL_DEPTH32F_STENCIL8's depth channel.
Asking for the datatype of MESA_FORMAT_Z32_FLOAT_X24S8 is a bit funny -- there's a float depth channel, and a stencil channel that doesn't have a particular GLenum associated with its type, so what's the correct response? Because there is no query for stencil, just make this format's datatype be that of the depth channel. It fixes the depth query (and thus a failure in piglit gl-3.0-required-sized-formats), and none of the other consumers of the _mesa_get_format_datatype() API care. v2: Add a comment for why the DataType is this way for this format. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'docs/README.QUAKE')
0 files changed, 0 insertions, 0 deletions