X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=blobdiff_plain;f=src%2Fmesa%2Fdrivers%2Fdri%2Fi965%2Fbrw_tes.c;h=225d2401c7e10cb45641ab6dc0b3e4bfecef8914;hp=21f44ae74afde1f88d0741691742fda6a9c464f3;hb=f9d5a7add42af5a2e4410526d1480a08f41317ae;hpb=f082d7f64f4bbdc29a04b3ddb6491251cafdd9e2 diff --git a/src/mesa/drivers/dri/i965/brw_tes.c b/src/mesa/drivers/dri/i965/brw_tes.c index 21f44ae74af..225d2401c7e 100644 --- a/src/mesa/drivers/dri/i965/brw_tes.c +++ b/src/mesa/drivers/dri/i965/brw_tes.c @@ -129,8 +129,7 @@ brw_codegen_tes_prog(struct brw_context *brw, /* Scratch space is used for register spilling */ brw_alloc_stage_scratch(brw, stage_state, - prog_data.base.base.total_scratch, - devinfo->max_tes_threads); + prog_data.base.base.total_scratch); /* The param and pull_param arrays will be freed by the shader cache. */ ralloc_steal(NULL, prog_data.base.base.param);