diff --git a/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c b/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c index c94f109..e6538e8 100644 --- a/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c +++ b/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c @@ -867,6 +867,8 @@ void radeon_llvm_emit_prepare_cube_coords( target == TGSI_TEXTURE_SHADOWCUBE) { coords[3] = coords_arg[3]; } + else + coords[3] = coords_arg[3]; memcpy(coords_arg, coords, sizeof(coords)); }