summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-08-01 17:01:44 -0700
committerEric Anholt <[email protected]>2014-08-11 14:45:31 -0700
commit7969a1532555ec5425286105e1c1a5138deb2799 (patch)
treec26db3c78c3ea9f762453c431be1f78d0c95a8b3
parent99070c6daad72c96d517ffb18185c8b21b9d67f2 (diff)
vc4: Update a comment about shader validation
-rw-r--r--src/gallium/drivers/vc4/vc4_simulator_validate_shaders.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gallium/drivers/vc4/vc4_simulator_validate_shaders.c b/src/gallium/drivers/vc4/vc4_simulator_validate_shaders.c
index c02deb406c7..261bb0c9100 100644
--- a/src/gallium/drivers/vc4/vc4_simulator_validate_shaders.c
+++ b/src/gallium/drivers/vc4/vc4_simulator_validate_shaders.c
@@ -74,10 +74,8 @@ check_register_write(uint32_t waddr, bool is_b)
case QPU_W_TLB_COLOR_MS:
case QPU_W_TLB_COLOR_ALL:
case QPU_W_TLB_Z:
- /* XXX: We need to track which buffers get written by the
- * shader, to make sure that we have those buffers set up by
- * the config packets. But we need to pass them for now to
- * get things up and running.
+ /* These only interact with the tile buffer, not main memory,
+ * so they're safe.
*/
return true;