diff options
Diffstat (limited to 'src/panfrost/util/pan_lower_framebuffer.h')
-rw-r--r-- | src/panfrost/util/pan_lower_framebuffer.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/src/panfrost/util/pan_lower_framebuffer.h b/src/panfrost/util/pan_lower_framebuffer.h index 5491cd346b1..bf6509175bb 100644 --- a/src/panfrost/util/pan_lower_framebuffer.h +++ b/src/panfrost/util/pan_lower_framebuffer.h @@ -30,18 +30,12 @@ #include "compiler/nir/nir.h" #include "util/format/u_format.h" -/* NATIVE formats can use a typed load/store. PACK formats cannot but can use a - * typed pack/unpack instruction. SOFTWARE formats are lowered */ - -enum pan_format_class { - PAN_FORMAT_NATIVE, - PAN_FORMAT_PACK, - PAN_FORMAT_SOFTWARE -}; - -nir_alu_type pan_unpacked_type_for_format(const struct util_format_description *desc); +nir_alu_type +pan_unpacked_type_for_format(const struct util_format_description *desc); bool pan_lower_framebuffer(nir_shader *shader, const enum pipe_format *rt_fmts, - bool is_blend, unsigned quirks); + uint8_t raw_fmt_mask, + unsigned blend_shader_nr_samples, + bool broken_ld_special); #endif |