summaryrefslogtreecommitdiffstats
path: root/src/compiler
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2018-06-23 18:22:42 -0400
committerRob Clark <robdclark@gmail.com>2018-07-18 10:10:44 -0400
commit640b8eb5b13a2e3c6f5fc7f2a2174e74df274089 (patch)
tree92f696b7384e595200fb44de5bb9a3ba9fd51861 /src/compiler
parent3f7c2148b049037d307096993fa5934d7c0b83d8 (diff)
nir: fixup intrinsic comment
Now the deref is the first src. Signed-off-by: Rob Clark <robdclark@gmail.com> Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/nir/nir_intrinsics.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_intrinsics.py b/src/compiler/nir/nir_intrinsics.py
index 1a03a6aa30f..eaa40e95acc 100644
--- a/src/compiler/nir/nir_intrinsics.py
+++ b/src/compiler/nir/nir_intrinsics.py
@@ -290,7 +290,7 @@ atomic3("atomic_counter_comp_swap")
# and layout qualifiers that influence the semantics of the intrinsic.
#
# All image intrinsics take a four-coordinate vector and a sample index as
-# first two sources, determining the location within the image that will be
+# 2nd and 3rd sources, determining the location within the image that will be
# accessed by the intrinsic. Components not applicable to the image target
# in use are undefined. Image store takes an additional four-component
# argument with the value to be written, and image atomic operations take