Module: Mesa Branch: main Commit: f53748c4815172a474c9ec677f875991828fe071 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f53748c4815172a474c9ec677f875991828fe071
Author: Lionel Landwerlin <lionel.g.landwer...@intel.com> Date: Mon Dec 11 15:06:34 2023 +0200 nir: fixup nir_printf intrinsic description Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com> Reviewed-by: Karol Herbst <kher...@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26505> --- 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 feab2cd4974..73a6e12b63e 100644 --- a/src/compiler/nir/nir_intrinsics.py +++ b/src/compiler/nir/nir_intrinsics.py @@ -1186,7 +1186,7 @@ intrinsic("load_frag_shading_rate", dest_comp=1, bit_sizes=[32], system_value("fully_covered", dest_comp=1, bit_sizes=[1]) # OpenCL printf instruction -# First source is a deref to the format string +# First source is an index to the format string (u_printf_info element of the shader) # Second source is a deref to a struct containing the args # Dest is success or failure intrinsic("printf", src_comp=[1, 1], dest_comp=1, bit_sizes=[32])