Home
last modified time | relevance | path

Searched refs:is_stencil (Results 1 – 10 of 10) sorted by relevance

/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cStencilTexturingTests.hpp62 …void dispatch(glw::GLuint program_id, bool is_stencil, glw::GLuint dst_texture_id, glw::GLuint src…
66 glw::GLuint prepareDestinationTexture(bool is_stencil);
68 glw::GLuint prepareProgram(bool is_draw, bool is_stencil);
70 glw::GLuint prepareSourceTexture(glw::GLenum internal_format, bool is_stencil,
75 bool verifyTexture(glw::GLuint id, glw::GLenum source_internal_format, bool is_stencil,
78 bool test(glw::GLenum internal_format, bool is_stencil);
Dgl4cStencilTexturingTests.cpp660 void FunctionalTest::dispatch(GLuint program_id, bool is_stencil, GLuint dst_texture_id, GLuint src… in dispatch() argument
667 if (false == is_stencil) in dispatch()
813 GLuint FunctionalTest::prepareDestinationTexture(bool is_stencil) in prepareDestinationTexture() argument
825 if (true == is_stencil) in prepareDestinationTexture()
862 GLuint FunctionalTest::prepareProgram(bool is_draw, bool is_stencil) in prepareProgram() argument
874 if (false == is_stencil) in prepareProgram()
901 if (false == is_stencil) in prepareProgram()
945 GLuint FunctionalTest::prepareSourceTexture(GLenum internal_format, bool is_stencil, in prepareSourceTexture() argument
973 if (true == is_stencil) in prepareSourceTexture()
1082 bool FunctionalTest::verifyTexture(GLuint id, GLenum source_internal_format, bool is_stencil, in verifyTexture() argument
[all …]
/third_party/mesa3d/src/amd/vulkan/
Dradv_image.c588 bool is_depth, is_stencil; in radv_get_surface_flags() local
591 is_stencil = util_format_has_stencil(desc); in radv_get_surface_flags()
630 if (is_stencil) in radv_get_surface_flags()
770 bool is_stencil, bool is_storage_image, bool disable_compression, in si_set_mutable_tex_desc_fields() argument
780 if (is_stencil) in si_set_mutable_tex_desc_fields()
818 if (is_stencil) { in si_set_mutable_tex_desc_fields()
847 if (is_stencil) { in si_set_mutable_tex_desc_fields()
873 unsigned index = si_tile_mode_index(plane, base_level, is_stencil); in si_set_mutable_tex_desc_fields()
1943 bool is_stencil = iview->vk.aspects == VK_IMAGE_ASPECT_STENCIL_BIT; in radv_image_view_make_descriptor() local
1973 if (is_stencil) in radv_image_view_make_descriptor()
[all …]
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_descriptors.c291 bool is_stencil, uint16_t access, uint32_t * restrict state) in si_set_mutable_tex_desc_fields() argument
295 if (tex->is_depth && !si_can_sample_zs(tex, is_stencil)) { in si_set_mutable_tex_desc_fields()
297 is_stencil = false; in si_set_mutable_tex_desc_fields()
304 if (is_stencil) in si_set_mutable_tex_desc_fields()
334 is_stencil ? PIPE_MASK_S : PIPE_MASK_Z)) { in si_set_mutable_tex_desc_fields()
346 if (is_stencil) { in si_set_mutable_tex_desc_fields()
382 if (is_stencil) { in si_set_mutable_tex_desc_fields()
418 unsigned index = si_tile_mode_index(tex, base_level, is_stencil); in si_set_mutable_tex_desc_fields()
497 static bool depth_needs_decompression(struct si_texture *tex, bool is_stencil) in depth_needs_decompression() argument
504 …return tex->db_compatible && (tex->dirty_level_mask || (is_stencil && tex->stencil_dirty_level_mas… in depth_needs_decompression()
Dsi_state.h491 bool is_stencil, uint16_t access, uint32_t * restrict state);
Dsi_texture.c179 bool is_depth, is_stencil; in si_init_surface() local
185 is_stencil = util_format_has_stencil(desc); in si_init_surface()
213 if (is_stencil) in si_init_surface()
Dsi_state.c4025 bool is_stencil = false; in gfx10_make_texture_descriptor() local
4032 is_stencil = true; in gfx10_make_texture_descriptor()
4041 is_stencil = true; in gfx10_make_texture_descriptor()
4045 is_stencil = pipe_format == PIPE_FORMAT_S8_UINT; in gfx10_make_texture_descriptor()
4048 if (tex->upgraded_depth && !is_stencil) { in gfx10_make_texture_descriptor()
/third_party/mesa3d/src/amd/common/
Dac_surface.c631 struct radeon_surf *surf, bool is_stencil, unsigned level, in gfx6_compute_level() argument
678 if (is_stencil) in gfx6_compute_level()
693 surf_level = is_stencil ? &surf->u.legacy.zs.stencil_level[level] : &surf->u.legacy.level[level]; in gfx6_compute_level()
716 if (is_stencil) in gfx6_compute_level()
817 if (!is_stencil && AddrSurfInfoIn->flags.depth && surf_level->mode == RADEON_SURF_MODE_2D && in gfx6_compute_level()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_texture.c209 bool is_depth, is_stencil; in r600_init_surface() local
214 is_stencil = util_format_has_stencil(desc); in r600_init_surface()
227 if (is_stencil) in r600_init_surface()
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_cmd_buffer.c2232 bool is_stencil; in pvr_perform_start_of_render_attachment_clear() local
2241 is_stencil = vk_format_has_stencil(pass->attachments[view_idx].vk_format); in pvr_perform_start_of_render_attachment_clear()
2250 if (!((is_depth && depth_clear) || (is_stencil && stencil_clear))) in pvr_perform_start_of_render_attachment_clear()