mesa/st: Temporary workaround for fdo bug 64568.

Effectively reverting the problematic hunk of
commit 614ee25077
This commit is contained in:
José Fonseca
2013-05-14 16:55:56 +01:00
parent 29b8d6a1da
commit 36385c0bdf

View File

@@ -279,10 +279,15 @@ void st_init_limits(struct st_context *st)
st->ctx->Extensions.ARB_uniform_buffer_object = GL_TRUE;
c->UniformBufferOffsetAlignment =
screen->get_param(screen, PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT);
/* FIXME: _mesa_init_buffer_objects() already has been, and
* ctx->UniformBufferBindings allocated, so unfortunately we can't just
* change MaxUniformBufferBindings a posteriori. */
#if 0
c->MaxCombinedUniformBlocks = c->MaxUniformBufferBindings =
c->VertexProgram.MaxUniformBlocks +
c->GeometryProgram.MaxUniformBlocks +
c->FragmentProgram.MaxUniformBlocks;
#endif
}
}