projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad50896
)
anv/gen7: Set MaximumNumberofThreads in the dummy PS packet
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Sat, 27 Feb 2016 17:43:14 +0000
(09:43 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Sat, 27 Feb 2016 19:23:56 +0000
(11:23 -0800)
src/intel/vulkan/gen7_pipeline.c
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/gen7_pipeline.c
b/src/intel/vulkan/gen7_pipeline.c
index 009a79ac815632a8d5f24cfc6f3aeff84cbdbc11..2167f296b2f8e493c2e922566889d70c9f01bfd4 100644
(file)
--- a/
src/intel/vulkan/gen7_pipeline.c
+++ b/
src/intel/vulkan/gen7_pipeline.c
@@
-338,7
+338,11
@@
genX(graphics_pipeline_create)(
.PointRasterizationRule = RASTRULE_UPPER_RIGHT);
- anv_batch_emit(&pipeline->batch, GENX(3DSTATE_PS));
+ /* Even if no fragments are ever dispatched, the hardware hangs if we
+ * don't at least set the maximum number of threads.
+ */
+ anv_batch_emit(&pipeline->batch, GENX(3DSTATE_PS),
+ .MaximumNumberofThreads = device->info.max_wm_threads - 1);
} else {
const struct brw_wm_prog_data *wm_prog_data = &pipeline->wm_prog_data;