mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 04:30:10 +01:00
panfrost: cleanup outputs_read/outputs_written at pan_shader_info
With this commit we do two things:
* Remove pan_shader_info.fs.outputs_written because it is not used,
as there is already pan_shader_info.outputs_written
* For pan_shader_info.fs.outputs_read we direcly copy the nir
info.outputs_read, without a shift, for consistency and also
because it is not really required.
Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38022>
This commit is contained in:
parent
f3ff2375ec
commit
75eee7f38b
2 changed files with 2 additions and 3 deletions
|
|
@ -113,8 +113,8 @@ pan_shader_compile(nir_shader *s, struct pan_compile_inputs *inputs,
|
|||
if (s->info.outputs_written & BITFIELD64_BIT(FRAG_RESULT_SAMPLE_MASK))
|
||||
info->fs.writes_coverage = true;
|
||||
|
||||
info->fs.outputs_read = s->info.outputs_read >> FRAG_RESULT_DATA0;
|
||||
info->fs.outputs_written = s->info.outputs_written >> FRAG_RESULT_DATA0;
|
||||
info->fs.outputs_read = s->info.outputs_read;
|
||||
|
||||
info->fs.sample_shading = s->info.fs.uses_sample_shading;
|
||||
info->fs.untyped_color_outputs = s->info.fs.untyped_color_outputs;
|
||||
|
||||
|
|
|
|||
|
|
@ -233,7 +233,6 @@ struct pan_shader_info {
|
|||
bool can_early_z, can_fpk;
|
||||
bool untyped_color_outputs;
|
||||
BITSET_WORD outputs_read;
|
||||
BITSET_WORD outputs_written;
|
||||
} fs;
|
||||
|
||||
struct {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue