Mesa (master): radv: Fix incorrect comment

Dave Airlie airlied at kemper.freedesktop.org
Thu Oct 13 18:48:24 UTC 2016


Module: Mesa
Branch: master
Commit: 30e63fb0e422228cefb44dc4c28e0f282bdbb34c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=30e63fb0e422228cefb44dc4c28e0f282bdbb34c

Author: Tom Stellard <thomas.stellard at amd.com>
Date:   Thu Oct 13 15:21:27 2016 +0000

radv: Fix incorrect comment

Signed-off-by: Dave Airlie <airlied at redhat.com>

---

 src/amd/common/ac_nir_to_llvm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c
index e6ff7c8..9c764c7 100644
--- a/src/amd/common/ac_nir_to_llvm.c
+++ b/src/amd/common/ac_nir_to_llvm.c
@@ -2373,8 +2373,8 @@ static void visit_image_store(struct nir_to_llvm_context *ctx,
 		bool da = glsl_sampler_type_is_array(type) ||
 		          glsl_get_sampler_dim(type) == GLSL_SAMPLER_DIM_CUBE;
 
-		params[0] = get_src(ctx, instr->src[2]); /* coords */
-		params[1] = get_image_coords(ctx, instr, false);
+		params[0] = get_src(ctx, instr->src[2]);
+		params[1] = get_image_coords(ctx, instr, false); /* coords */
 		params[2] = get_sampler_desc(ctx, instr->variables[0], DESC_IMAGE);
 		params[3] = LLVMConstInt(ctx->i32, 15, false); /* dmask */
 		params[4] = i1false;  /* r128 */




More information about the mesa-commit mailing list