mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 22:10:10 +01:00
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:
parent
7358edad42
commit
b27bbbe0c9
2 changed files with 0 additions and 12 deletions
|
|
@ -274,14 +274,6 @@ GENX(pan_shader_compile)(nir_shader *s,
|
||||||
info->fs.reads_face =
|
info->fs.reads_face =
|
||||||
(s->info.inputs_read & (1 << VARYING_SLOT_FACE)) ||
|
(s->info.inputs_read & (1 << VARYING_SLOT_FACE)) ||
|
||||||
BITSET_TEST(s->info.system_values_read, SYSTEM_VALUE_FRONT_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,
|
collect_varyings(s, nir_var_shader_in, info->varyings.input,
|
||||||
&info->varyings.input_count);
|
&info->varyings.input_count);
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
|
|
@ -218,10 +218,6 @@ struct pan_shader_info {
|
||||||
bool writes_stencil;
|
bool writes_stencil;
|
||||||
bool writes_coverage;
|
bool writes_coverage;
|
||||||
bool sidefx;
|
bool sidefx;
|
||||||
bool reads_sample_id;
|
|
||||||
bool reads_sample_pos;
|
|
||||||
bool reads_sample_mask_in;
|
|
||||||
bool reads_helper_invocation;
|
|
||||||
bool sample_shading;
|
bool sample_shading;
|
||||||
bool early_fragment_tests;
|
bool early_fragment_tests;
|
||||||
bool can_early_z, can_fpk;
|
bool can_early_z, can_fpk;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue