Merge branch 'mesa_7_5_branch' into mesa_7_6_branch
This commit is contained in:
commit
940ca2e837
|
@ -84,7 +84,7 @@ softpipe_get_param(struct pipe_screen *screen, int param)
|
|||
case PIPE_CAP_MAX_TEXTURE_2D_LEVELS:
|
||||
return 13; /* max 4Kx4K */
|
||||
case PIPE_CAP_MAX_TEXTURE_3D_LEVELS:
|
||||
return 8; /* max 128x128x128 */
|
||||
return 9; /* max 256x256x256 */
|
||||
case PIPE_CAP_MAX_TEXTURE_CUBE_LEVELS:
|
||||
return 13; /* max 4Kx4K */
|
||||
case PIPE_CAP_TGSI_CONT_SUPPORTED:
|
||||
|
|
|
@ -234,7 +234,7 @@ enable_texture(GLcontext *ctx, GLboolean state, GLbitfield texBit)
|
|||
const GLbitfield newenabled = state
|
||||
? (texUnit->Enabled | texBit) : (texUnit->Enabled & ~texBit);
|
||||
|
||||
if (!ctx->DrawBuffer->Visual.rgbMode || texUnit->Enabled == newenabled)
|
||||
if (texUnit->Enabled == newenabled)
|
||||
return GL_FALSE;
|
||||
|
||||
FLUSH_VERTICES(ctx, _NEW_TEXTURE);
|
||||
|
@ -936,11 +936,6 @@ _mesa_set_enable(GLcontext *ctx, GLenum cap, GLboolean state)
|
|||
/* GL_EXT_depth_bounds_test */
|
||||
case GL_DEPTH_BOUNDS_TEST_EXT:
|
||||
CHECK_EXTENSION(EXT_depth_bounds_test, cap);
|
||||
if (state && ctx->DrawBuffer->Visual.depthBits == 0) {
|
||||
_mesa_warning(ctx,
|
||||
"glEnable(GL_DEPTH_BOUNDS_TEST_EXT) but no depth buffer");
|
||||
return;
|
||||
}
|
||||
if (ctx->Depth.BoundsTest == state)
|
||||
return;
|
||||
FLUSH_VERTICES(ctx, _NEW_DEPTH);
|
||||
|
|
Loading…
Reference in New Issue