projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
i965: Calculate thread_count in brw_alloc_stage_scratch
[mesa.git]
/
src
/
mesa
/
drivers
/
dri
/
i965
/
brw_tes.c
diff --git
a/src/mesa/drivers/dri/i965/brw_tes.c
b/src/mesa/drivers/dri/i965/brw_tes.c
index 21f44ae74afde1f88d0741691742fda6a9c464f3..225d2401c7e10cb45641ab6dc0b3e4bfecef8914 100644
(file)
--- 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,
/* 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);
/* The param and pull_param arrays will be freed by the shader cache. */
ralloc_steal(NULL, prog_data.base.base.param);