Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_zsa.c105 so->rb_depth_cntl |= in fd6_zsa_state_create()
109 so->rb_depth_cntl |= in fd6_zsa_state_create()
148 so->rb_depth_cntl |= A6XX_RB_DEPTH_CNTL_Z_WRITE_ENABLE; in fd6_zsa_state_create()
217 so->rb_depth_cntl | COND(i & FD6_ZSA_DEPTH_CLIP_DISABLE, in fd6_zsa_state_create()
Dfd6_zsa.h45 uint32_t rb_depth_cntl; member
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_zsa.c68 so->rb_depth_cntl |= in fd5_zsa_state_create()
72 so->rb_depth_cntl |= in fd5_zsa_state_create()
76 so->rb_depth_cntl |= A5XX_RB_DEPTH_CNTL_Z_WRITE_ENABLE; in fd5_zsa_state_create()
Dfd5_zsa.h39 uint32_t rb_depth_cntl; member
Dfd5_emit.c602 OUT_RING(ring, zsa->rb_depth_cntl); in fd5_emit_state()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_lrz.c641 bool z_test_enable = cmd->state.rb_depth_cntl & A6XX_RB_DEPTH_CNTL_Z_TEST_ENABLE; in tu6_calculate_lrz_state()
642 bool z_write_enable = cmd->state.rb_depth_cntl & A6XX_RB_DEPTH_CNTL_Z_WRITE_ENABLE; in tu6_calculate_lrz_state()
643 bool z_read_enable = cmd->state.rb_depth_cntl & A6XX_RB_DEPTH_CNTL_Z_READ_ENABLE; in tu6_calculate_lrz_state()
644 bool z_bounds_enable = cmd->state.rb_depth_cntl & A6XX_RB_DEPTH_CNTL_Z_BOUNDS_ENABLE; in tu6_calculate_lrz_state()
645 …VkCompareOp depth_compare_op = (cmd->state.rb_depth_cntl & A6XX_RB_DEPTH_CNTL_ZFUNC__MASK) >> A6XX… in tu6_calculate_lrz_state()
Dtu_cmd_buffer.c471 uint32_t *rb_depth_cntl) in tu6_apply_depth_bounds_workaround() argument
482 *rb_depth_cntl |= A6XX_RB_DEPTH_CNTL_Z_TEST_ENABLE | in tu6_apply_depth_bounds_workaround()
2528 UPDATE_REG(rb_depth_cntl, RB_DEPTH_CNTL); in tu_CmdBindPipeline()
2781 cmd->state.rb_depth_cntl &= ~A6XX_RB_DEPTH_CNTL_Z_TEST_ENABLE; in tu_CmdSetDepthTestEnableEXT()
2784 cmd->state.rb_depth_cntl |= A6XX_RB_DEPTH_CNTL_Z_TEST_ENABLE; in tu_CmdSetDepthTestEnableEXT()
2795 cmd->state.rb_depth_cntl &= ~A6XX_RB_DEPTH_CNTL_Z_WRITE_ENABLE; in tu_CmdSetDepthWriteEnableEXT()
2798 cmd->state.rb_depth_cntl |= A6XX_RB_DEPTH_CNTL_Z_WRITE_ENABLE; in tu_CmdSetDepthWriteEnableEXT()
2809 cmd->state.rb_depth_cntl &= ~A6XX_RB_DEPTH_CNTL_ZFUNC__MASK; in tu_CmdSetDepthCompareOpEXT()
2811 cmd->state.rb_depth_cntl |= in tu_CmdSetDepthCompareOpEXT()
2823 cmd->state.rb_depth_cntl &= ~A6XX_RB_DEPTH_CNTL_Z_BOUNDS_ENABLE; in tu_CmdSetDepthBoundsTestEnableEXT()
[all …]
Dtu_cmd_buffer.h323 uint32_t gras_su_cntl, rb_depth_cntl, rb_stencil_cntl; member
665 uint32_t *rb_depth_cntl);
Dtu_pipeline.h130 uint32_t rb_depth_cntl, rb_depth_cntl_mask; member
Dtu_pipeline.c3480 uint32_t rb_depth_cntl = 0, rb_stencil_cntl = 0; in tu_pipeline_builder_parse_depth_stencil() local
3486 rb_depth_cntl |= in tu_pipeline_builder_parse_depth_stencil()
3492 rb_depth_cntl |= A6XX_RB_DEPTH_CNTL_Z_CLIP_DISABLE; in tu_pipeline_builder_parse_depth_stencil()
3495 rb_depth_cntl |= A6XX_RB_DEPTH_CNTL_Z_WRITE_ENABLE; in tu_pipeline_builder_parse_depth_stencil()
3499 rb_depth_cntl |= A6XX_RB_DEPTH_CNTL_Z_BOUNDS_ENABLE | A6XX_RB_DEPTH_CNTL_Z_READ_ENABLE; in tu_pipeline_builder_parse_depth_stencil()
3502 tu6_apply_depth_bounds_workaround(builder->device, &rb_depth_cntl); in tu_pipeline_builder_parse_depth_stencil()
3542 tu_cs_emit(&cs, rb_depth_cntl); in tu_pipeline_builder_parse_depth_stencil()
3544 pipeline->rb_depth_cntl = rb_depth_cntl; in tu_pipeline_builder_parse_depth_stencil()