projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
llvmpipe: Don't waste time interpolating unused input channels.
[mesa.git]
/
src
/
gallium
/
drivers
/
llvmpipe
/
lp_state_derived.c
diff --git
a/src/gallium/drivers/llvmpipe/lp_state_derived.c
b/src/gallium/drivers/llvmpipe/lp_state_derived.c
index 2edfcb28ce6dafb0baa70426ba5d43256357f369..773aadc92d9cad63e9b5353899a7d878db3d8a96 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_state_derived.c
+++ b/
src/gallium/drivers/llvmpipe/lp_state_derived.c
@@
-77,6
+77,7
@@
compute_vertex_info(struct llvmpipe_context *llvmpipe)
/* This can be pre-computed, except for flatshade:
*/
+ inputs[i].usage_mask = lpfs->info.input_usage_mask[i];
switch (lpfs->info.input_semantic_name[i]) {
case TGSI_SEMANTIC_FACE:
inputs[i].interp = LP_INTERP_FACING;