[Mesa-dev] [PATCH 1/4] r600g/llvm: fix sample cube shadow
Marek Olšák
maraeo at gmail.com
Tue Oct 1 03:04:38 PDT 2013
I already fixed this in master:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=028b26e2efa7485fb7a5dd9be681074a36f9e442
Marek
On Mon, Sep 30, 2013 at 11:46 PM, Vincent Lejeune <vljn at ovi.com> wrote:
> ---
> src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c b/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c
> index 8ff9abd..ac2e511 100644
> --- a/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c
> +++ b/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c
> @@ -654,7 +654,8 @@ void radeon_llvm_emit_prepare_cube_coords(
> opcode == TGSI_OPCODE_TXB2 ||
> opcode == TGSI_OPCODE_TXL2) {
> coords[3] = coords_arg[4];
> - } else if (opcode == TGSI_OPCODE_TXB ||
> + } else if (opcode == TGSI_OPCODE_TEX ||
> + opcode == TGSI_OPCODE_TXB ||
> opcode == TGSI_OPCODE_TXL) {
> coords[3] = coords_arg[3];
> }
> --
> 1.8.3.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list