Home
last modified time | relevance | path

Searched refs:VIV_FEATURE (Results 1 – 13 of 13) sorted by relevance

/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_screen.c182 return VIV_FEATURE(screen, chipMinorFeatures1, HALTI0); in etna_screen_get_param()
204 return VIV_FEATURE(screen, chipMinorFeatures4, HALTI2); in etna_screen_get_param()
232 return VIV_FEATURE(screen, chipMinorFeatures1, HALTI0); in etna_screen_get_param()
354 return VIV_FEATURE(screen, chipMinorFeatures0, HAS_SQRT_TRIG); in etna_screen_get_shader_param()
429 supported = VIV_FEATURE(screen, chipFeatures, ETC1_TEXTURE_COMPRESSION); in gpu_supports_texture_format()
432 supported = VIV_FEATURE(screen, chipFeatures, DXT_TEXTURE_COMPRESSION); in gpu_supports_texture_format()
435 supported = VIV_FEATURE(screen, chipMinorFeatures1, HALTI0); in gpu_supports_texture_format()
438 supported = VIV_FEATURE(screen, chipMinorFeatures1, HALTI0); in gpu_supports_texture_format()
445 supported = VIV_FEATURE(screen, chipMinorFeatures2, HALTI1); in gpu_supports_texture_format()
449 supported = VIV_FEATURE(screen, chipMinorFeatures4, HALTI2); in gpu_supports_texture_format()
[all …]
Detnaviv_texture.c137 return VIV_FEATURE(screen, chipMinorFeatures2, TEXTURE_TILED_READ) && in etna_can_use_sampler_ts()
194 …if (res->layout == ETNA_LAYOUT_SUPER_TILED && VIV_FEATURE(screen, chipMinorFeatures2, SUPERTILED_T… in etna_resource_sampler_compatible()
198 …if (res->layout == ETNA_LAYOUT_LINEAR && VIV_FEATURE(screen, chipMinorFeatures1, LINEAR_TEXTURE_SU… in etna_resource_sampler_compatible()
206 if (VIV_FEATURE(screen, chipMinorFeatures1, TEXTURE_HALIGN)) in etna_resource_sampler_compatible()
Detnaviv_surface.c105 if (VIV_FEATURE(screen, chipFeatures, FAST_CLEAR) && in etna_create_surface()
106 VIV_FEATURE(screen, chipMinorFeatures0, MC20) && in etna_create_surface()
Detnaviv_screen.h62 #define VIV_FEATURE(screen, word, feature) \ macro
Detnaviv_rasterizer.c55 … COND(VIV_FEATURE(ctx->screen, chipMinorFeatures1, WIDE_LINE), VIVS_PA_CONFIG_WIDE_LINE); in etna_rasterizer_state_create()
Detnaviv_etc2.c42 if (VIV_FEATURE(screen, chipMinorFeatures2, HALTI1)) in etna_etc2_needs_patching()
Detnaviv_state.c691 if (VIV_FEATURE(screen, chipMinorFeatures5, RA_WRITE_DEPTH) && in etna_update_zsa()
692 !VIV_FEATURE(screen, chipFeatures, NO_EARLY_Z) && in etna_update_zsa()
703 if (!VIV_FEATURE(screen, chipFeatures, NO_EARLY_Z) && in etna_update_zsa()
724 if (VIV_FEATURE(screen, chipMinorFeatures5, RA_WRITE_DEPTH)) { in etna_update_zsa()
Detnaviv_zsa.c95 if (VIV_FEATURE(screen, chipMinorFeatures1, HALF_FLOAT)) in etna_zsa_state_create()
Detnaviv_blend.c96 VIV_FEATURE(ctx->screen, chipMinorFeatures2, LOGIC_OP); in etna_blend_state_create()
Detnaviv_context.c632 if (VIV_FEATURE(ctx->screen, chipMinorFeatures2, BUG_FIXES8)) in etna_context_create()
635 if (VIV_FEATURE(ctx->screen, chipMinorFeatures2, LINE_LOOP)) in etna_context_create()
Detnaviv_resource.c200 VIV_FEATURE(screen, chipMinorFeatures1, TEXTURE_HALIGN) || in is_rs_align()
350 } else if (VIV_FEATURE(screen, chipMinorFeatures2, SUPERTILED_TEXTURE) && in etna_resource_create()
Detnaviv_rs.c325 if (VIV_FEATURE(ctx->screen, chipMinorFeatures1, AUTO_DISABLE)) { in etna_blit_clear_color_rs()
384 if (VIV_FEATURE(ctx->screen, chipMinorFeatures1, AUTO_DISABLE)) { in etna_blit_clear_zs_rs()
Detnaviv_emit.c510 VIV_FEATURE(screen, chipMinorFeatures1, HALF_FLOAT)) { in etna_emit_state()