Home
last modified time | relevance | path

Searched refs:zs_format (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_sfbd.c126 fb->zs_format = MALI_ZS_FORMAT_D16; in panfrost_sfbd_set_zsbuf()
129 fb->zs_format = MALI_ZS_FORMAT_D24S8; in panfrost_sfbd_set_zsbuf()
132 fb->zs_format = MALI_ZS_FORMAT_D24X8; in panfrost_sfbd_set_zsbuf()
135 fb->zs_format = MALI_ZS_FORMAT_D32; in panfrost_sfbd_set_zsbuf()
138 fb->zs_format = MALI_ZS_FORMAT_D32_S8X24; in panfrost_sfbd_set_zsbuf()
/external/mesa3d/src/gallium/auxiliary/util/
Du_simple_shaders.c915 enum pipe_format zs_format, in util_make_fs_pack_color_zs() argument
922 assert(zs_format == PIPE_FORMAT_Z24_UNORM_S8_UINT || /* color is R32_UINT */ in util_make_fs_pack_color_zs()
923 zs_format == PIPE_FORMAT_S8_UINT_Z24_UNORM || /* color is R32_UINT */ in util_make_fs_pack_color_zs()
924 zs_format == PIPE_FORMAT_Z32_FLOAT_S8X24_UINT || /* color is R32G32_UINT */ in util_make_fs_pack_color_zs()
925 zs_format == PIPE_FORMAT_Z24X8_UNORM || /* color is R32_UINT */ in util_make_fs_pack_color_zs()
926 zs_format == PIPE_FORMAT_X8Z24_UNORM); /* color is R32_UINT */ in util_make_fs_pack_color_zs()
928 bool has_stencil = zs_format != PIPE_FORMAT_Z24X8_UNORM && in util_make_fs_pack_color_zs()
929 zs_format != PIPE_FORMAT_X8Z24_UNORM; in util_make_fs_pack_color_zs()
930 bool is_z24 = zs_format != PIPE_FORMAT_Z32_FLOAT_S8X24_UINT; in util_make_fs_pack_color_zs()
931 bool z24_is_high = zs_format == PIPE_FORMAT_S8_UINT_Z24_UNORM || in util_make_fs_pack_color_zs()
[all …]
Du_simple_shaders.h159 enum pipe_format zs_format,
Du_blitter.c1044 enum pipe_format zs_format, in blitter_get_fs_pack_color_zs() argument
1050 int format_index = zs_format == PIPE_FORMAT_Z24_UNORM_S8_UINT ? 0 : in blitter_get_fs_pack_color_zs()
1051 zs_format == PIPE_FORMAT_S8_UINT_Z24_UNORM ? 1 : in blitter_get_fs_pack_color_zs()
1052 zs_format == PIPE_FORMAT_Z32_FLOAT_S8X24_UINT ? 2 : in blitter_get_fs_pack_color_zs()
1053 zs_format == PIPE_FORMAT_Z24X8_UNORM ? 3 : in blitter_get_fs_pack_color_zs()
1054 zs_format == PIPE_FORMAT_X8Z24_UNORM ? 4 : -1; in blitter_get_fs_pack_color_zs()
1072 *shader = util_make_fs_pack_color_zs(pipe, tgsi_tex, zs_format, in blitter_get_fs_pack_color_zs()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_pipe.h315 enum pipe_format zs_format; member
Dr600_state.c256 switch (state->zs_format) { in r600_emit_polygon_offset()
1176 if (state->zsbuf->format != rctx->poly_offset_state.zs_format) { in r600_set_framebuffer_state()
1177 rctx->poly_offset_state.zs_format = state->zsbuf->format; in r600_set_framebuffer_state()
Devergreen_state.c1527 if (state->zsbuf->format != rctx->poly_offset_state.zs_format) { in evergreen_set_framebuffer_state()
1528 rctx->poly_offset_state.zs_format = state->zsbuf->format; in evergreen_set_framebuffer_state()
1983 switch (state->zs_format) { in evergreen_emit_polygon_offset()