mesa: initial ARB_depth_buffer_float support
Using GL_NONE as DataType of Z32_FLOAT_X24S8, not sure what I should put there. The spec says the type is n/a. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
@@ -66,6 +66,9 @@ get_datatype_bytes(struct gl_renderbuffer *rb)
|
||||
int component_size;
|
||||
|
||||
switch (rb->DataType) {
|
||||
case GL_FLOAT_32_UNSIGNED_INT_24_8_REV:
|
||||
component_size = 8;
|
||||
break;
|
||||
case GL_FLOAT:
|
||||
case GL_UNSIGNED_INT:
|
||||
case GL_UNSIGNED_INT_24_8_EXT:
|
||||
|
Reference in New Issue
Block a user