panfrost: Remove unused shader info bits

These were only used to infer preloading and can be deleted.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14154>
This commit is contained in:
Alyssa Rosenzweig 2021-12-09 16:54:43 -05:00 committed by Marge Bot
parent 7358edad42
commit b27bbbe0c9
2 changed files with 0 additions and 12 deletions

View file

@ -274,14 +274,6 @@ GENX(pan_shader_compile)(nir_shader *s,
info->fs.reads_face =
(s->info.inputs_read & (1 << VARYING_SLOT_FACE)) ||
BITSET_TEST(s->info.system_values_read, SYSTEM_VALUE_FRONT_FACE);
info->fs.reads_sample_id =
BITSET_TEST(s->info.system_values_read, SYSTEM_VALUE_SAMPLE_ID);
info->fs.reads_sample_pos =
BITSET_TEST(s->info.system_values_read, SYSTEM_VALUE_SAMPLE_POS);
info->fs.reads_sample_mask_in =
BITSET_TEST(s->info.system_values_read, SYSTEM_VALUE_SAMPLE_MASK_IN);
info->fs.reads_helper_invocation =
BITSET_TEST(s->info.system_values_read, SYSTEM_VALUE_HELPER_INVOCATION);
collect_varyings(s, nir_var_shader_in, info->varyings.input,
&info->varyings.input_count);
break;

View file

@ -218,10 +218,6 @@ struct pan_shader_info {
bool writes_stencil;
bool writes_coverage;
bool sidefx;
bool reads_sample_id;
bool reads_sample_pos;
bool reads_sample_mask_in;
bool reads_helper_invocation;
bool sample_shading;
bool early_fragment_tests;
bool can_early_z, can_fpk;