summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-02-23 22:05:39 -0800
committerJason Ekstrand <[email protected]>2018-03-01 14:07:58 -0800
commitf4f95496cbe778bd4e023ec428e13171630f240d (patch)
tree6b020bbf2eb26175085b1bad040f43202c370cb3 /src
parentd85f05bd6f5bd56b336d5b09337d0832c91c44d2 (diff)
anv/blorp: Allow indirect clear colors on blorp sources on gen7
Reviewed-by: Samuel Iglesias Gonsálvez <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/intel/vulkan/genX_blorp_exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/vulkan/genX_blorp_exec.c b/src/intel/vulkan/genX_blorp_exec.c
index f9567152286..ac6e7366640 100644
--- a/src/intel/vulkan/genX_blorp_exec.c
+++ b/src/intel/vulkan/genX_blorp_exec.c
@@ -205,8 +205,8 @@ genX(blorp_exec)(struct blorp_batch *batch,
* indirect fast-clear colors can cause GPU hangs if we don't stall first.
* See genX(cmd_buffer_mi_memcpy) for more details.
*/
- assert(params->src.clear_color_addr.buffer == NULL);
- if (params->dst.clear_color_addr.buffer)
+ if (params->src.clear_color_addr.buffer ||
+ params->dst.clear_color_addr.buffer)
cmd_buffer->state.pending_pipe_bits |= ANV_PIPE_CS_STALL_BIT;
#endif