Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_screen.c186 return VIV_FEATURE(screen, chipMinorFeatures1, HALTI0); in etna_screen_get_param()
189 return !VIV_FEATURE(screen, chipMinorFeatures7, PE_NO_ALPHA_TEST); in etna_screen_get_param()
210 return VIV_FEATURE(screen, chipMinorFeatures4, HALTI2); in etna_screen_get_param()
238 return VIV_FEATURE(screen, chipMinorFeatures1, HALTI0); in etna_screen_get_param()
276 if (VIV_FEATURE(screen, chipMinorFeatures2, BUG_FIXES8)) in etna_screen_get_param()
279 if (VIV_FEATURE(screen, chipMinorFeatures2, LINE_LOOP)) in etna_screen_get_param()
390 return VIV_FEATURE(screen, chipMinorFeatures0, HAS_SQRT_TRIG); in etna_screen_get_shader_param()
462 supported = VIV_FEATURE(screen, chipFeatures, ETC1_TEXTURE_COMPRESSION); in gpu_supports_texture_format()
465 supported = VIV_FEATURE(screen, chipFeatures, DXT_TEXTURE_COMPRESSION); in gpu_supports_texture_format()
468 supported = VIV_FEATURE(screen, chipMinorFeatures1, HALTI0); in gpu_supports_texture_format()
[all …]
Detnaviv_screen.h69 #define VIV_FEATURE(screen, word, feature) \ macro
122 if (!VIV_FEATURE(screen, chipMinorFeatures6, CACHE128B256BPERLINE)) in etna_screen_get_tile_size()
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.c59 (VIV_FEATURE(screen, chipMinorFeatures2, LINEAR_PE) && in etna_render_handle_incompatible()
60 (!VIV_FEATURE(screen, chipFeatures, FAST_CLEAR) || in etna_render_handle_incompatible()
112 if (VIV_FEATURE(screen, chipFeatures, FAST_CLEAR) && in etna_create_surface()
Detnaviv_blend.c96 VIV_FEATURE(ctx->screen, chipMinorFeatures2, LOGIC_OP); in etna_blend_state_create()
113 VIV_FEATURE(ctx->screen, chipMinorFeatures3, PE_DITHER_FIX))) { in etna_blend_state_create()
Detnaviv_state.c153 VIV_FEATURE(screen, chipMinorFeatures2, LINEAR_PE)); in etna_set_framebuffer_state()
172 if (VIV_FEATURE(screen, chipMinorFeatures6, CACHE128B256BPERLINE)) in etna_set_framebuffer_state()
717 bool early_z_allowed = !VIV_FEATURE(screen, chipFeatures, NO_EARLY_Z); in etna_update_zsa()
735 if (VIV_FEATURE(screen, chipMinorFeatures5, RA_WRITE_DEPTH) && in etna_update_zsa()
768 if (VIV_FEATURE(screen, chipMinorFeatures5, RA_WRITE_DEPTH)) { in etna_update_zsa()
Detnaviv_rs.c109 if (VIV_FEATURE(ctx->screen, chipMinorFeatures6, CACHE128B256BPERLINE)) in etna_compile_rs_state()
133 if (VIV_FEATURE(ctx->screen, chipMinorFeatures6, CACHE128B256BPERLINE)) in etna_compile_rs_state()
222 VIV_FEATURE(screen, chipMinorFeatures7, RS_NEW_BASEADDR)) { in etna_submit_rs_state()
334 if (VIV_FEATURE(ctx->screen, chipMinorFeatures1, AUTO_DISABLE)) { in etna_blit_clear_color_rs()
393 if (VIV_FEATURE(ctx->screen, chipMinorFeatures1, AUTO_DISABLE)) { in etna_blit_clear_zs_rs()
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_resource.c103 if (VIV_FEATURE(screen, chipMinorFeatures6, CACHE128B256BPERLINE) && in etna_screen_resource_alloc_ts()
195 VIV_FEATURE(screen, chipMinorFeatures1, TEXTURE_HALIGN) || in is_rs_align()
341 VIV_FEATURE(screen, chipMinorFeatures2, SUPERTILED_TEXTURE) && in etna_resource_create()
Detnaviv_zsa.c95 if (VIV_FEATURE(screen, chipMinorFeatures1, HALF_FLOAT)) in etna_zsa_state_create()
Detnaviv_context.c376 if (!VIV_FEATURE(screen, chipMinorFeatures6, NEW_GPIPE)) { in etna_draw_vbo()
Detnaviv_emit.c508 VIV_FEATURE(screen, chipMinorFeatures1, HALF_FLOAT)) { in etna_emit_state()