Module: Mesa
Branch: vulkan
Commit: b50f7f0011e6f497277c575bc36b5dab80d45bea
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=b50f7f0011e6f497277c575bc36b5dab80d45bea

Author: Jason Ekstrand <jason.ekstr...@intel.com>
Date:   Fri Mar 25 10:12:52 2016 -0700

nir: Add a better comment for INTRINSIC_RANGE

---

 src/compiler/nir/nir.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
index 2fd75ec..de6b93c 100644
--- a/src/compiler/nir/nir.h
+++ b/src/compiler/nir/nir.h
@@ -986,8 +986,8 @@ typedef enum {
    NIR_INTRINSIC_UCP_ID = 4,
 
    /**
-    * The range of a load operation.  This specifies the maximum amount of
-    * data starting at the base offset (if any) that can be accessed.
+    * The ammount of data, starting from BASE, that this instruction may
+    * access.  This is used to provide bounds if the offset is not constant.
     */
    NIR_INTRINSIC_RANGE = 5,
 

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to