Test case?

 Chad

On Mar 16, 2013, at 9:45 AM, Vincent Lejeune <v...@ovi.com> wrote:

> It allows the backend to generate reads to constant cache which
> are faster that VTX_READ.
> ---
> lib/Target/R600/R600ISelLowering.cpp | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/lib/Target/R600/R600ISelLowering.cpp 
> b/lib/Target/R600/R600ISelLowering.cpp
> index a0e27ea..caa1899 100644
> --- a/lib/Target/R600/R600ISelLowering.cpp
> +++ b/lib/Target/R600/R600ISelLowering.cpp
> @@ -522,7 +522,7 @@ SDValue 
> R600TargetLowering::LowerImplicitParameter(SelectionDAG &DAG, EVT VT,
>                                                    unsigned DwordOffset) 
> const {
>   unsigned ByteOffset = DwordOffset * 4;
>   PointerType * PtrType = 
> PointerType::get(VT.getTypeForEVT(*DAG.getContext()),
> -                                      AMDGPUAS::PARAM_I_ADDRESS);
> +                                      AMDGPUAS::CONSTANT_BUFFER_0);
> 
>   // We shouldn't be using an offset wider than 16-bits for implicit 
> parameters.
>   assert(isInt<16>(ByteOffset));
> -- 
> 1.8.1.4
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-comm...@cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to