diff options
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index e70ad982f48..2ea0a9eca92 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +++ b/src/mesa/drivers/dri/i965/brw_context.c @@ -391,6 +391,7 @@ brw_initialize_context_constants(struct brw_context *brw) ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxTextureImageUnits); ctx->Const.MaxUniformBufferBindings = num_stages * BRW_MAX_UBO; + ctx->Const.MaxCombinedUniformBlocks = num_stages * BRW_MAX_UBO; ctx->Const.MaxCombinedAtomicBuffers = num_stages * BRW_MAX_ABO; ctx->Const.MaxCombinedShaderStorageBlocks = num_stages * BRW_MAX_SSBO; ctx->Const.MaxShaderStorageBufferBindings = num_stages * BRW_MAX_SSBO; |