projects
/
platform
/
upstream
/
Vulkan-LoaderAndValidationLayers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faaed47
)
intel: add a missing WA in the meta path
author
Chia-I Wu
<olv@lunarg.com>
Tue, 28 Oct 2014 03:19:14 +0000
(11:19 +0800)
committer
Chia-I Wu
<olv@lunarg.com>
Tue, 28 Oct 2014 06:52:21 +0000
(14:52 +0800)
A scoreboard stall needs to be emitted prior to any change to "Maximum Number
of Threads" of 3DSTATE_PS. If the normal draw path and the meta path
programmed the same value for the field, we probably could skip this WA. But
let's play safe.
icd/intel/cmd_pipeline.c
patch
|
blob
|
history
diff --git
a/icd/intel/cmd_pipeline.c
b/icd/intel/cmd_pipeline.c
index f8f23eae93b5e9c6533656f1b520eafb8168789b..0057488427dc311cb81913a0b8ebebf4ec6c99d8 100644
(file)
--- a/
icd/intel/cmd_pipeline.c
+++ b/
icd/intel/cmd_pipeline.c
@@
-2868,6
+2868,7
@@
void cmd_draw_meta(struct intel_cmd *cmd, const struct intel_cmd_meta *meta)
cmd->bind.meta = meta;
cmd_wa_gen6_pre_depth_stall_write(cmd);
+ cmd_wa_gen6_pre_command_scoreboard_stall(cmd);
gen6_meta_dynamic_states(cmd);
gen6_meta_surface_states(cmd);