summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2015-10-20 20:34:46 -0700
committerKenneth Graunke <kenneth@whitecape.org>2015-11-04 10:18:56 -0800
commit7c46408ee09f2e699d6b17563f06130e8da1ef53 (patch)
tree7edf262509bb46e6dba50a1531bb5f54f1d19eb1
parent6b677900d6b1aaa3051e4bfee3f815a56145e899 (diff)
all the UBO!
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index 26bf67244e..6f68cd25e5 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -347,6 +347,8 @@ brw_initialize_context_constants(struct brw_context *brw)
ctx->Const.Program[MESA_SHADER_TESS_EVAL].MaxTextureImageUnits = max_samplers;
ctx->Const.MaxCombinedUniformBlocks += ctx->Const.Program[MESA_SHADER_TESS_CTRL].MaxUniformBlocks + ctx->Const.Program[MESA_SHADER_TESS_EVAL].MaxUniformBlocks;
ctx->Const.MaxUniformBufferBindings += ctx->Const.Program[MESA_SHADER_TESS_CTRL].MaxUniformBlocks + ctx->Const.Program[MESA_SHADER_TESS_EVAL].MaxUniformBlocks;
+ ctx->Const.MaxUniformBufferBindings += BRW_MAX_UBO;
+ ctx->Const.MaxUniformBufferBindings += BRW_MAX_UBO;
}
if (brw->gen >= 6)