radv: Fix incorrect comment
authorTom Stellard <thomas.stellard@amd.com>
Thu, 13 Oct 2016 15:21:27 +0000 (15:21 +0000)
committerDave Airlie <airlied@redhat.com>
Thu, 13 Oct 2016 18:48:11 +0000 (04:48 +1000)
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_nir_to_llvm.c

index e6ff7c84362bb60297287c613fce276cee0b698f..9c764c7c95d418bd478396a9080bbabfa87b6b0b 100644 (file)
@@ -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 */