Home
last modified time | relevance | path

Searched refs:clear_stencil (Results 1 - 25 of 25) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/i915/
H A Di915_clear.c48 uint32_t clear_params, clear_color, clear_depth, clear_stencil, in i915_clear_emit() local
83 clear_depth = clear_stencil = 0; in i915_clear_emit()
97 clear_stencil = packed_z_stencil >> 24; in i915_clear_emit()
116 clear_stencil = packed_z_stencil >> 24; in i915_clear_emit()
144 OUT_BATCH(clear_stencil); in i915_clear_emit()
163 OUT_BATCH(clear_stencil); in i915_clear_emit()
195 OUT_BATCH(clear_stencil); in i915_clear_emit()
/third_party/mesa3d/src/gallium/drivers/asahi/
H A Dmagic.h40 unsigned clear_stencil);
H A Dmagic.c171 unsigned clear_stencil) in demo_cmdbuf()
235 cfg.stencil_clear_value = clear_stencil; in demo_cmdbuf()
159 demo_cmdbuf(uint64_t *buf, size_t size, struct agx_pool *pool, struct pipe_framebuffer_state *framebuffer, uint64_t encoder_ptr, uint64_t encoder_id, uint64_t scissor_ptr, uint64_t depth_bias_ptr, uint32_t pipeline_clear, uint32_t pipeline_load, uint32_t pipeline_store, bool clear_pipeline_textures, double clear_depth, unsigned clear_stencil) demo_cmdbuf() argument
H A Dagx_state.h107 unsigned clear_stencil; member
H A Dagx_pipe.c405 ctx->batch->clear_stencil = stencil; in agx_clear()
560 ctx->batch->clear_stencil); in agx_flush()
/third_party/mesa3d/src/intel/blorp/
H A Dblorp.h249 bool clear_stencil, uint8_t stencil_value);
257 bool clear_depth, bool clear_stencil,
H A Dblorp_clear.c989 bool clear_stencil) in blorp_can_clear_full_surface()
992 if (clear_stencil) { in blorp_can_clear_full_surface()
1014 bool clear_stencil, uint8_t stencil_value) in blorp_hiz_clear_depth_stencil()
1031 clear_depth, clear_stencil); in blorp_hiz_clear_depth_stencil()
1041 if (clear_stencil) { in blorp_hiz_clear_depth_stencil()
1077 bool clear_depth, bool clear_stencil, in blorp_gfx8_hiz_clear_attachments()
1093 params.stencil.enabled = clear_stencil; in blorp_gfx8_hiz_clear_attachments()
983 blorp_can_clear_full_surface(const struct blorp_surf *depth, const struct blorp_surf *stencil, uint32_t level, uint32_t x0, uint32_t y0, uint32_t x1, uint32_t y1, bool clear_depth, bool clear_stencil) blorp_can_clear_full_surface() argument
1006 blorp_hiz_clear_depth_stencil(struct blorp_batch *batch, const struct blorp_surf *depth, const struct blorp_surf *stencil, uint32_t level, uint32_t start_layer, uint32_t num_layers, uint32_t x0, uint32_t y0, uint32_t x1, uint32_t y1, bool clear_depth, float depth_value, bool clear_stencil, uint8_t stencil_value) blorp_hiz_clear_depth_stencil() argument
1073 blorp_gfx8_hiz_clear_attachments(struct blorp_batch *batch, uint32_t num_samples, uint32_t x0, uint32_t y0, uint32_t x1, uint32_t y1, bool clear_depth, bool clear_stencil, uint8_t stencil_value) blorp_gfx8_hiz_clear_attachments() argument
/third_party/mesa3d/src/gallium/drivers/zink/
H A Dzink_render_pass.c56 bool has_clear = rt->clear_color || rt->clear_stencil; in get_zs_rt_layout()
135 attachments[num_attachments].stencilLoadOp = rt->clear_stencil ? VK_ATTACHMENT_LOAD_OP_CLEAR : VK_ATTACHMENT_LOAD_OP_LOAD; in create_render_pass2()
279 if (!rt->clear_color && !rt->clear_stencil) in zink_render_pass_attachment_get_barrier_info()
281 if (rt->clear_color || rt->clear_stencil || rt->needs_write) in zink_render_pass_attachment_get_barrier_info()
336 rt->clear_stencil = zink_fb_clear_enabled(ctx, PIPE_MAX_COLOR_BUFS) && in zink_init_zs_attachment()
346 bool needs_write_s = rt->clear_stencil || (outputs_written & BITFIELD64_BIT(FRAG_RESULT_STENCIL)) || in zink_init_zs_attachment()
415 if (state.rts[fb->nr_cbufs].clear_stencil) in get_render_pass()
H A Dzink_render_pass.h39 bool clear_stencil; member
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_setup.h59 unsigned clear_stencil,
/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_clear.c517 bool clear_stencil, in clear_depth_stencil()
554 if (!(clear_depth || (clear_stencil && stencil_res))) { in clear_depth_stencil()
569 uint8_t stencil_mask = clear_stencil && stencil_res ? 0xff : 0; in clear_depth_stencil()
511 clear_depth_stencil(struct iris_context *ice, struct pipe_resource *p_res, unsigned level, const struct pipe_box *box, bool render_condition_enabled, bool clear_depth, bool clear_stencil, float depth, uint8_t stencil) clear_depth_stencil() argument
/third_party/mesa3d/src/gallium/drivers/panfrost/
H A Dpan_job.h111 unsigned clear_stencil; member
H A Dpan_job.c577 fb->zs.clear_value.stencil = batch->clear_stencil; in panfrost_batch_to_fb_info()
805 z_rsrc->stencil_value = batch->clear_stencil; in panfrost_batch_submit()
808 batch->clear_stencil = z_rsrc->stencil_value; in panfrost_batch_submit()
947 batch->clear_stencil = stencil; in panfrost_batch_clear()
/third_party/mesa3d/src/gallium/drivers/freedreno/
H A Dfreedreno_batch.h217 unsigned clear_stencil; member
/third_party/mesa3d/src/gallium/drivers/crocus/
H A Dcrocus_clear.c545 bool clear_stencil, in clear_depth_stencil()
583 if (!(clear_depth || (clear_stencil && stencil_res))) { in clear_depth_stencil()
601 uint8_t stencil_mask = clear_stencil && stencil_res ? 0xff : 0; in clear_depth_stencil()
539 clear_depth_stencil(struct crocus_context *ice, struct pipe_resource *p_res, unsigned level, const struct pipe_box *box, bool render_condition_enabled, bool clear_depth, bool clear_stencil, float depth, uint8_t stencil) clear_depth_stencil() argument
/third_party/mesa3d/src/intel/vulkan/
H A Danv_blorp.c1102 bool clear_stencil = pRanges[r].aspectMask & VK_IMAGE_ASPECT_STENCIL_BIT; in anv_CmdClearDepthStencilImage() local
1122 clear_stencil ? 0xff : 0, in anv_CmdClearDepthStencilImage()
1125 if (clear_stencil && has_stencil_shadow) { in anv_CmdClearDepthStencilImage()
1262 bool clear_stencil = attachment->aspectMask & VK_IMAGE_ASPECT_STENCIL_BIT; in clear_depth_stencil_attachment() local
1296 clear_stencil ? 0xff : 0, value.stencil); in clear_depth_stencil_attachment()
1316 clear_stencil ? 0xff : 0, value.stencil); in clear_depth_stencil_attachment()
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_context.h280 uint8_t clear_stencil; member
H A Dvc4_job.c472 submit.clear_s = job->clear_stencil; in vc4_job_submit()
H A Dvc4_draw.c628 job->clear_stencil = stencil; in vc4_clear()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_gmem.c1141 util_pack_z_stencil(pfmt, batch->clear_depth, batch->clear_stencil); in emit_clears()
1195 OUT_RING(ring, batch->clear_stencil & 0xff); in emit_clears()
1531 value.ui[1] = batch->clear_stencil;
1537 value.ui[0] = batch->clear_stencil;
H A Dfd6_draw.c491 ctx->batch->clear_stencil = stencil;
/third_party/vk-gl-cts/modules/gles2/performance/
H A Des2pStateChangeCallTests.cpp263 ADD_ARG_CASE1(clear_stencil, "Test cost of glClearStencil() calls", in init()
/third_party/vk-gl-cts/modules/gles3/performance/
H A Des3pStateChangeCallTests.cpp298 ADD_ARG_CASE1(clear_stencil, "Test cost of glClearStencil() calls", in init()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cPipelineStatisticsQueryTests.cpp2648 const glw::GLint clear_stencil = 123; in executeClearBufferivStencilBufferTest() local
2653 &clear_stencil); in executeClearBufferivStencilBufferTest()
/third_party/mesa3d/src/broadcom/vulkan/
H A Dv3dv_cmd_buffer.c1127 bool clear_depth, bool clear_stencil, in cmd_buffer_state_set_attachment_clear_depth_stencil()
1136 if (clear_stencil) in cmd_buffer_state_set_attachment_clear_depth_stencil()
1124 cmd_buffer_state_set_attachment_clear_depth_stencil( struct v3dv_cmd_buffer *cmd_buffer, uint32_t attachment_idx, bool clear_depth, bool clear_stencil, const VkClearDepthStencilValue *ds) cmd_buffer_state_set_attachment_clear_depth_stencil() argument

Completed in 37 milliseconds