Re: [Mesa-dev] [PATCH 21/25] radv/ac: add support for TCS/TES inputs/outputs.

2017-03-30 Thread James Legg
On Thu, 2017-03-30 at 18:01 +1000, Dave Airlie wrote: > --- a/src/amd/common/ac_nir_to_llvm.c > +++ b/src/amd/common/ac_nir_to_llvm.c > @@ -2244,6 +2370,322 @@ radv_get_deref_offset(struct > nir_to_llvm_context *ctx, nir_deref *tail, >  } >   >  static LLVMValueRef > +lds_load(struct nir_to_llvm_co

[Mesa-dev] [PATCH 21/25] radv/ac: add support for TCS/TES inputs/outputs.

2017-03-30 Thread Dave Airlie
From: Dave Airlie This adds support for the tessellation inputs/outputs to the shader compiler, this is one of the main pieces of the patch. It is very similiar to the radeonsi code (post merge we should consider if there are better sharing opportunities). The main differences from radeonsi, is