diff options
author | Anuj Phogat <[email protected]> | 2014-03-11 17:04:11 -0700 |
---|---|---|
committer | Anuj Phogat <[email protected]> | 2014-04-21 11:20:50 -0700 |
commit | bd1880dfe8fe1eea12eeb573df34ef328b96013e (patch) | |
tree | abb5f7b0712b54cad1a22ec48646d3cdf3843895 /src/glsl/opt_structure_splitting.cpp | |
parent | 7cb3bbf2cd64b8e8d7eb49cdc1238808f140f66b (diff) |
mesa: Add an error condition in glGetFramebufferAttachmentParameteriv()
From the OpenGL 4.4 spec page 275:
"If pname is FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE, param will
contain the format of components of the specified attachment,
one of FLOAT, INT, UNSIGNED_INT, SIGNED_NORMALIZED, or
UNSIGNED_NORMALIZED for floating-point, signed integer,
unsigned integer, signed normalized fixedpoint, or unsigned
normalized fixed-point components respectively. If no data
storage or texture image has been specified for the attachment,
param will contain NONE. This query cannot be performed for a
combined depth+stencil attachment, since it does not have a
single format."
Fixes Khronos CTS test: packed_depth_stencil_parameters.test
Khronos Bug# 9170
Cc: <[email protected]>
Signed-off-by: Anuj Phogat <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl/opt_structure_splitting.cpp')
0 files changed, 0 insertions, 0 deletions