Re: [Mesa-dev] [PATCH 1/2] radeonsi: add support for indirect samplers (v2)

2015-07-24 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Fri, Jul 24, 2015 at 6:43 AM, Dave Airlie wrote: > From: Dave Airlie > > This adds the frontend support, however the llvm > backend produces the wrong pattern, however > we can conditionalise enabling ARB_gpu_shader5 > on whatever version of llvm we fix this i

[Mesa-dev] [PATCH 1/2] radeonsi: add support for indirect samplers (v2)

2015-07-23 Thread Dave Airlie
From: Dave Airlie This adds the frontend support, however the llvm backend produces the wrong pattern, however we can conditionalise enabling ARB_gpu_shader5 on whatever version of llvm we fix this in. v2: drop unneeded sampler_indirect checks (Marek) Signed-off-by: Dave Airlie --- docs/GL3.tx

Re: [Mesa-dev] [PATCH 1/2] radeonsi: add support for indirect samplers

2015-07-23 Thread Dave Airlie
> >> + >> static void tex_fetch_args( >> struct lp_build_tgsi_context * bld_base, >> struct lp_build_emit_data * emit_data) >> @@ -1640,10 +1658,36 @@ static void tex_fetch_args( >> unsigned num_coords = tgsi_util_get_texture_coord_dim(target, >> &ref_pos); >> unsi

Re: [Mesa-dev] [PATCH 1/2] radeonsi: add support for indirect samplers

2015-07-23 Thread Marek Olšák
On Wed, Jul 22, 2015 at 3:27 AM, Dave Airlie wrote: > From: Dave Airlie > > This adds the frontend support, however the llvm > backend produces the wrong pattern, however > we can conditionalise enabling ARB_gpu_shader5 > on whatever version of llvm we fix this in. The driver can assume that thi

[Mesa-dev] [PATCH 1/2] radeonsi: add support for indirect samplers

2015-07-21 Thread Dave Airlie
From: Dave Airlie This adds the frontend support, however the llvm backend produces the wrong pattern, however we can conditionalise enabling ARB_gpu_shader5 on whatever version of llvm we fix this in. Signed-off-by: Dave Airlie --- docs/GL3.txt | 2 +- src/gallium