[Mesa-dev] [PATCH] nir: fixup intrinsic comment

Samuel Iglesias Gonsálvez siglesias at igalia.com
Mon Jun 25 13:57:00 UTC 2018


Reviewed-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>


On 25/06/18 14:17, Rob Clark wrote:
> Now the deref is the first src.
>
> Signed-off-by: Rob Clark <robdclark at gmail.com>
> ---
>  src/compiler/nir/nir_intrinsics.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/compiler/nir/nir_intrinsics.py b/src/compiler/nir/nir_intrinsics.py
> index e38d94b2d8a..4ec2aab574b 100644
> --- a/src/compiler/nir/nir_intrinsics.py
> +++ b/src/compiler/nir/nir_intrinsics.py
> @@ -289,7 +289,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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180625/02a871db/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180625/02a871db/attachment.sig>


More information about the mesa-dev mailing list