aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_context.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2019-07-07 16:32:09 -0700
committerKenneth Graunke <[email protected]>2019-07-11 00:12:50 -0700
commitc58f52f0ef39db7ca6574381931203f435b03280 (patch)
treede7f3525fa4956e0c986548510aca3aa9547a02b /src/gallium/drivers/iris/iris_context.h
parentcb82d534a0c3ea65c0f24586fcb877d912eec130 (diff)
iris: Only set key->flat_shade if COL0/COL1 are written.
This was just laziness on my part, we already added similar checks in the VS key handling. Just need to do it here too. Should improve cache hits.
Diffstat (limited to 'src/gallium/drivers/iris/iris_context.h')
-rw-r--r--src/gallium/drivers/iris/iris_context.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_context.h b/src/gallium/drivers/iris/iris_context.h
index e38ec77d1ec..a1cdb75a732 100644
--- a/src/gallium/drivers/iris/iris_context.h
+++ b/src/gallium/drivers/iris/iris_context.h
@@ -475,6 +475,7 @@ struct iris_vtable {
void (*populate_gs_key)(const struct iris_context *ice,
struct brw_gs_prog_key *key);
void (*populate_fs_key)(const struct iris_context *ice,
+ const struct shader_info *info,
struct brw_wm_prog_key *key);
void (*populate_cs_key)(const struct iris_context *ice,
struct brw_cs_prog_key *key);