summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/ir3/ir3_depth.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2015-02-26 15:13:10 -0500
committerRob Clark <[email protected]>2015-03-03 10:41:00 -0500
commit9d732d3125e1b39788a642a5723aeb54cb1983f3 (patch)
tree38fb76e3addbf84eb54634cddfa359436797512a /src/gallium/drivers/freedreno/ir3/ir3_depth.c
parent20b50a071271e2caf8a4c3d4fd72f877af8a18d9 (diff)
freedreno/ir3: add support for memory (cat6) instructions
Scheduled basically the same as texture (cat5) instructions, using (sy) flag for synchronization. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/ir3/ir3_depth.c')
-rw-r--r--src/gallium/drivers/freedreno/ir3/ir3_depth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/freedreno/ir3/ir3_depth.c b/src/gallium/drivers/freedreno/ir3/ir3_depth.c
index 76413d41589..8ff62ba70a6 100644
--- a/src/gallium/drivers/freedreno/ir3/ir3_depth.c
+++ b/src/gallium/drivers/freedreno/ir3/ir3_depth.c
@@ -67,7 +67,7 @@ int ir3_delayslots(struct ir3_instruction *assigner,
return 6;
/* handled via sync flags: */
- if (is_sfu(assigner) || is_tex(assigner))
+ if (is_sfu(assigner) || is_tex(assigner) || is_mem(assigner))
return 0;
/* assigner must be alu: */