Home
last modified time | relevance | path

Searched refs:depth_bias (Results 1 – 25 of 30) sorted by relevance

12

/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_cs.c680 cfg.depth_units = state->rast.depth_bias.constant_factor * 2.0f; in panvk_per_arch()
681 cfg.depth_factor = state->rast.depth_bias.slope_factor; in panvk_per_arch()
682 cfg.depth_bias_clamp = state->rast.depth_bias.clamp; in panvk_per_arch()
773 cfg.stencil_mask_misc.depth_range_1 = pipeline->rast.depth_bias.enable; in panvk_per_arch()
774 cfg.stencil_mask_misc.depth_range_2 = pipeline->rast.depth_bias.enable; in panvk_per_arch()
778 cfg.depth_units = pipeline->rast.depth_bias.constant_factor * 2.0f; in panvk_per_arch()
779 cfg.depth_factor = pipeline->rast.depth_bias.slope_factor; in panvk_per_arch()
780 cfg.depth_bias_clamp = pipeline->rast.depth_bias.clamp; in panvk_per_arch()
Dpanvk_cmd_buffer.c204 cmdbuf->state.rast.depth_bias.constant_factor = depthBiasConstantFactor; in panvk_CmdSetDepthBias()
205 cmdbuf->state.rast.depth_bias.clamp = depthBiasClamp; in panvk_CmdSetDepthBias()
206 cmdbuf->state.rast.depth_bias.slope_factor = depthBiasSlopeFactor; in panvk_CmdSetDepthBias()
Dpanvk_vX_pipeline.c709 pipeline->rast.depth_bias.enable = builder->create_info->pRasterizationState->depthBiasEnable; in panvk_pipeline_builder_parse_rast()
710 pipeline->rast.depth_bias.constant_factor = in panvk_pipeline_builder_parse_rast()
712 pipeline->rast.depth_bias.clamp = builder->create_info->pRasterizationState->depthBiasClamp; in panvk_pipeline_builder_parse_rast()
713 …pipeline->rast.depth_bias.slope_factor = builder->create_info->pRasterizationState->depthBiasSlope… in panvk_pipeline_builder_parse_rast()
Dpanvk_private.h572 } depth_bias; member
796 } depth_bias; member
/third_party/skia/third_party/externals/swiftshader/tests/regres/testlists/vk-default/
Ddynamic-state.txt4 dEQP-VK.dynamic_state.rs_state.depth_bias
24 dEQP-VK.dynamic_state.compute_transfer.single.compute.depth_bias.before
25 dEQP-VK.dynamic_state.compute_transfer.single.compute.depth_bias.after
84 dEQP-VK.dynamic_state.compute_transfer.single.transfer.depth_bias.before
85 dEQP-VK.dynamic_state.compute_transfer.single.transfer.depth_bias.after
Drasterization.txt1012 dEQP-VK.rasterization.depth_bias.d16_unorm
1013 dEQP-VK.rasterization.depth_bias.d32_sfloat
1014 dEQP-VK.rasterization.depth_bias.d24_unorm
/third_party/vk-gl-cts/external/vulkancts/mustpass/master/vk-default/
Ddynamic-state.txt4 dEQP-VK.dynamic_state.rs_state.depth_bias
24 dEQP-VK.dynamic_state.compute_transfer.single.compute.depth_bias.before
25 dEQP-VK.dynamic_state.compute_transfer.single.compute.depth_bias.after
84 dEQP-VK.dynamic_state.compute_transfer.single.transfer.depth_bias.before
85 dEQP-VK.dynamic_state.compute_transfer.single.transfer.depth_bias.after
/third_party/vk-gl-cts/android/cts/master/vk-master/
Ddynamic-state.txt4 dEQP-VK.dynamic_state.rs_state.depth_bias
24 dEQP-VK.dynamic_state.compute_transfer.single.compute.depth_bias.before
25 dEQP-VK.dynamic_state.compute_transfer.single.compute.depth_bias.after
84 dEQP-VK.dynamic_state.compute_transfer.single.transfer.depth_bias.before
85 dEQP-VK.dynamic_state.compute_transfer.single.transfer.depth_bias.after
/third_party/vk-gl-cts/android/cts/master/vk-master-2021-03-01/
Ddynamic-state.txt9 dEQP-VK.dynamic_state.compute_transfer.single.compute.depth_bias.before
10 dEQP-VK.dynamic_state.compute_transfer.single.compute.depth_bias.after
69 dEQP-VK.dynamic_state.compute_transfer.single.transfer.depth_bias.before
70 dEQP-VK.dynamic_state.compute_transfer.single.transfer.depth_bias.after
Drasterization.txt461 dEQP-VK.rasterization.depth_bias.d16_unorm
462 dEQP-VK.rasterization.depth_bias.d32_sfloat
463 dEQP-VK.rasterization.depth_bias.d24_unorm
/third_party/vk-gl-cts/android/cts/master/vk-master-2019-03-01/
Ddynamic-state.txt4 dEQP-VK.dynamic_state.rs_state.depth_bias
/third_party/mesa3d/src/broadcom/ci/
Dv3dv-rpi4-skips.txt3 dEQP-VK.rasterization.depth_bias.d32_sfloat
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_rasterizer.c111 const int depth_bias = rast->templ.offset_units; in define_rasterizer_object() local
140 depth_bias, in define_rasterizer_object()
/third_party/mesa3d/src/intel/vulkan/
Dgfx7_cmd_buffer.c250 .GlobalDepthOffsetConstant = d->depth_bias.bias, in genX()
251 .GlobalDepthOffsetScale = d->depth_bias.slope, in genX()
252 .GlobalDepthOffsetClamp = d->depth_bias.clamp, in genX()
Danv_cmd_buffer.c53 .depth_bias = {
154 ANV_CMP_COPY(depth_bias.bias, ANV_CMD_DIRTY_DYNAMIC_DEPTH_BIAS); in anv_dynamic_state_copy()
155 ANV_CMP_COPY(depth_bias.clamp, ANV_CMD_DIRTY_DYNAMIC_DEPTH_BIAS); in anv_dynamic_state_copy()
156 ANV_CMP_COPY(depth_bias.slope, ANV_CMD_DIRTY_DYNAMIC_DEPTH_BIAS); in anv_dynamic_state_copy()
690 cmd_buffer->state.gfx.dynamic.depth_bias.bias = depthBiasConstantFactor; in anv_CmdSetDepthBias()
691 cmd_buffer->state.gfx.dynamic.depth_bias.clamp = depthBiasClamp; in anv_CmdSetDepthBias()
692 cmd_buffer->state.gfx.dynamic.depth_bias.slope = depthBiasSlopeFactor; in anv_CmdSetDepthBias()
Dgfx8_cmd_buffer.c495 .GlobalDepthOffsetConstant = d->depth_bias.bias, in genX()
496 .GlobalDepthOffsetScale = d->depth_bias.slope, in genX()
497 .GlobalDepthOffsetClamp = d->depth_bias.clamp, in genX()
Danv_pipeline.c2030 dynamic->depth_bias.bias = in copy_non_dynamic_state()
2032 dynamic->depth_bias.clamp = in copy_non_dynamic_state()
2034 dynamic->depth_bias.slope = in copy_non_dynamic_state()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_pipeline_state.cpp117 depth_bias(struct d3d12_rasterizer_state *state, enum pipe_prim_type reduced_prim) in depth_bias() function
241 if (depth_bias(state->rast, reduced_prim)) { in create_gfx_pipeline_state()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_draw.cpp692 bool depth_bias = false; in zink_draw_vbo() local
695 depth_bias = rast_state->offset_point; in zink_draw_vbo()
699 depth_bias = rast_state->offset_line; in zink_draw_vbo()
703 depth_bias = rast_state->offset_tri; in zink_draw_vbo()
716 if (depth_bias) in zink_draw_vbo()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_cmd_buffer.c52 .depth_bias = {
1873 if (memcmp(&dest->depth_bias, &src->depth_bias, in cmd_buffer_bind_pipeline_static_state()
1874 sizeof(src->depth_bias))) { in cmd_buffer_bind_pipeline_static_state()
1875 memcpy(&dest->depth_bias, &src->depth_bias, sizeof(src->depth_bias)); in cmd_buffer_bind_pipeline_static_state()
2872 cmd_buffer->state.dynamic.depth_bias.constant_factor = depthBiasConstantFactor; in v3dv_CmdSetDepthBias()
2873 cmd_buffer->state.dynamic.depth_bias.depth_bias_clamp = depthBiasClamp; in v3dv_CmdSetDepthBias()
2874 cmd_buffer->state.dynamic.depth_bias.slope_factor = depthBiasSlopeFactor; in v3dv_CmdSetDepthBias()
Dv3dv_pipeline.c2758 dynamic->depth_bias.constant_factor = in pipeline_init_dynamic_state()
2760 dynamic->depth_bias.depth_bias_clamp = in pipeline_init_dynamic_state()
2762 dynamic->depth_bias.slope_factor = in pipeline_init_dynamic_state()
2789 pipeline->depth_bias.enabled = false; in enable_depth_bias()
2790 pipeline->depth_bias.is_z16 = false; in enable_depth_bias()
2810 pipeline->depth_bias.is_z16 = true; in enable_depth_bias()
2812 pipeline->depth_bias.enabled = true; in enable_depth_bias()
Dv3dvx_cmd_buffer.c1100 if (!pipeline->depth_bias.enabled) in v3dX()
1111 bias.depth_offset_factor = dynamic->depth_bias.slope_factor; in v3dX()
1112 bias.depth_offset_units = dynamic->depth_bias.constant_factor; in v3dX()
1113 if (pipeline->depth_bias.is_z16) in v3dX()
1115 bias.limit = dynamic->depth_bias.depth_bias_clamp; in v3dX()
Dv3dv_private.h839 } depth_bias; member
1842 } depth_bias; member
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_execute.c89 } depth_bias; member
255 if (state->depth_bias.enabled) { in emit_state()
256 memcpy(&state->rs_state.offset_units, &state->depth_bias, sizeof(float) * 3); in emit_state()
561 … state->depth_bias.enabled = pipeline->graphics_create_info.pRasterizationState->depthBiasEnable; in handle_graphics_pipeline()
563 state->depth_bias.offset_units = rsc->depthBiasConstantFactor; in handle_graphics_pipeline()
564 state->depth_bias.offset_scale = rsc->depthBiasSlopeFactor; in handle_graphics_pipeline()
565 state->depth_bias.offset_clamp = rsc->depthBiasClamp; in handle_graphics_pipeline()
1959 state->depth_bias.offset_units = cmd->u.set_depth_bias.depth_bias_constant_factor; in handle_set_depth_bias()
1960 state->depth_bias.offset_scale = cmd->u.set_depth_bias.depth_bias_slope_factor; in handle_set_depth_bias()
1961 state->depth_bias.offset_clamp = cmd->u.set_depth_bias.depth_bias_clamp; in handle_set_depth_bias()
[all …]
/third_party/mesa3d/src/amd/vulkan/
Dradv_cmd_buffer.c78 .depth_bias =
171 if (memcmp(&dest->depth_bias, &src->depth_bias, sizeof(src->depth_bias))) { in radv_bind_dynamic_state()
172 dest->depth_bias = src->depth_bias; in radv_bind_dynamic_state()
1512 unsigned slope = fui(d->depth_bias.slope * 16.0f); in radv_emit_depth_bias()
1515 radeon_emit(cmd_buffer->cs, fui(d->depth_bias.clamp)); /* CLAMP */ in radv_emit_depth_bias()
1517 radeon_emit(cmd_buffer->cs, fui(d->depth_bias.bias)); /* FRONT OFFSET */ in radv_emit_depth_bias()
1519 radeon_emit(cmd_buffer->cs, fui(d->depth_bias.bias)); /* BACK OFFSET */ in radv_emit_depth_bias()
5015 if (state->dynamic.depth_bias.bias == depthBiasConstantFactor && in radv_CmdSetDepthBias()
5016 state->dynamic.depth_bias.clamp == depthBiasClamp && in radv_CmdSetDepthBias()
5017 state->dynamic.depth_bias.slope == depthBiasSlopeFactor) { in radv_CmdSetDepthBias()
[all …]

12