Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com>
On 13/01/18 00:21, Samuel Pitoiset wrote:
Unused.
Signed-off-by: Samuel Pitoiset <samuel.pitoi...@gmail.com>
---
src/amd/common/ac_nir_to_llvm.c | 2 --
src/amd/common/ac_nir_to_llvm.h | 1 -
2 files changed, 3 deletions(-)
diff --git a/src/amd/common/ac_nir_to_llvm.c b/src/amd/common/ac_nir_to_llvm.c
index 90856933fd..7dff5fcaf8 100644
--- a/src/amd/common/ac_nir_to_llvm.c
+++ b/src/amd/common/ac_nir_to_llvm.c
@@ -6379,8 +6379,6 @@ handle_fs_outputs_post(struct nir_to_llvm_context *ctx)
si_export_mrt_color(ctx, NULL, V_008DFC_SQ_EXP_NULL, true,
&color_args[0]);
ac_build_export(&ctx->ac, &color_args[0]);
}
-
- ctx->shader_info->fs.output_mask = index ? ((1ull << index) - 1) : 0;
}
static void
diff --git a/src/amd/common/ac_nir_to_llvm.h b/src/amd/common/ac_nir_to_llvm.h
index ca48cd7c07..111e41e549 100644
--- a/src/amd/common/ac_nir_to_llvm.h
+++ b/src/amd/common/ac_nir_to_llvm.h
@@ -169,7 +169,6 @@ struct ac_shader_variant_info {
struct {
unsigned num_interp;
uint32_t input_mask;
- unsigned output_mask;
uint32_t flat_shaded_mask;
bool can_discard;
bool writes_z;
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev