[Mesa-dev] [PATCH] radv: fix txs for sampler buffers

Bas Nieuwenhuizen bas at basnieuwenhuizen.nl
Tue Feb 28 21:16:02 UTC 2017


Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>

On Tue, Feb 28, 2017 at 7:53 AM, Dave Airlie <airlied at gmail.com> wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> I messed this up when I wrote it, this fixes:
> dEQP-VK.memory.pipeline_barrier.*uniform_texel_buffer.*
>
> Cc: "17.0" <mesa-stable at lists.freedesktop.org>
> Signed-off-by: Dave Airlie <airlied at redhat.com>
> ---
>  src/amd/common/ac_nir_to_llvm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c
> index 8cfe2fb..aa7a3d1 100644
> --- a/src/amd/common/ac_nir_to_llvm.c
> +++ b/src/amd/common/ac_nir_to_llvm.c
> @@ -3681,7 +3681,7 @@ static void visit_tex(struct nir_to_llvm_context *ctx, nir_tex_instr *instr)
>         }
>
>         if (instr->op == nir_texop_txs && instr->sampler_dim == GLSL_SAMPLER_DIM_BUF) {
> -               result = get_buffer_size(ctx, res_ptr, false);
> +               result = get_buffer_size(ctx, res_ptr, true);
>                 goto write_result;
>         }
>
> --
> 2.9.3
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list