Lines Matching refs:FMASK
3746 #define FMASK(s, f) (((unsigned)(MAX2(1, s)) * 16) + (MAX2(1, f))) in gfx10_make_texture_descriptor() macro
3747 switch (FMASK(res->nr_samples, res->nr_storage_samples)) { in gfx10_make_texture_descriptor()
3748 case FMASK(2, 1): in gfx10_make_texture_descriptor()
3751 case FMASK(2, 2): in gfx10_make_texture_descriptor()
3754 case FMASK(4, 1): in gfx10_make_texture_descriptor()
3757 case FMASK(4, 2): in gfx10_make_texture_descriptor()
3760 case FMASK(4, 4): in gfx10_make_texture_descriptor()
3763 case FMASK(8, 1): in gfx10_make_texture_descriptor()
3766 case FMASK(8, 2): in gfx10_make_texture_descriptor()
3769 case FMASK(8, 4): in gfx10_make_texture_descriptor()
3772 case FMASK(8, 8): in gfx10_make_texture_descriptor()
3775 case FMASK(16, 1): in gfx10_make_texture_descriptor()
3778 case FMASK(16, 2): in gfx10_make_texture_descriptor()
3781 case FMASK(16, 4): in gfx10_make_texture_descriptor()
3784 case FMASK(16, 8): in gfx10_make_texture_descriptor()
3790 #undef FMASK in gfx10_make_texture_descriptor()
4015 #define FMASK(s, f) (((unsigned)(MAX2(1, s)) * 16) + (MAX2(1, f))) in si_make_texture_descriptor() macro
4018 switch (FMASK(res->nr_samples, res->nr_storage_samples)) { in si_make_texture_descriptor()
4019 case FMASK(2, 1): in si_make_texture_descriptor()
4022 case FMASK(2, 2): in si_make_texture_descriptor()
4025 case FMASK(4, 1): in si_make_texture_descriptor()
4028 case FMASK(4, 2): in si_make_texture_descriptor()
4031 case FMASK(4, 4): in si_make_texture_descriptor()
4034 case FMASK(8, 1): in si_make_texture_descriptor()
4037 case FMASK(8, 2): in si_make_texture_descriptor()
4040 case FMASK(8, 4): in si_make_texture_descriptor()
4043 case FMASK(8, 8): in si_make_texture_descriptor()
4046 case FMASK(16, 1): in si_make_texture_descriptor()
4049 case FMASK(16, 2): in si_make_texture_descriptor()
4052 case FMASK(16, 4): in si_make_texture_descriptor()
4055 case FMASK(16, 8): in si_make_texture_descriptor()
4062 switch (FMASK(res->nr_samples, res->nr_storage_samples)) { in si_make_texture_descriptor()
4063 case FMASK(2, 1): in si_make_texture_descriptor()
4066 case FMASK(2, 2): in si_make_texture_descriptor()
4069 case FMASK(4, 1): in si_make_texture_descriptor()
4072 case FMASK(4, 2): in si_make_texture_descriptor()
4075 case FMASK(4, 4): in si_make_texture_descriptor()
4078 case FMASK(8, 1): in si_make_texture_descriptor()
4081 case FMASK(8, 2): in si_make_texture_descriptor()
4084 case FMASK(8, 4): in si_make_texture_descriptor()
4087 case FMASK(8, 8): in si_make_texture_descriptor()
4090 case FMASK(16, 1): in si_make_texture_descriptor()
4093 case FMASK(16, 2): in si_make_texture_descriptor()
4096 case FMASK(16, 4): in si_make_texture_descriptor()
4099 case FMASK(16, 8): in si_make_texture_descriptor()
4107 #undef FMASK in si_make_texture_descriptor()