Home
last modified time | relevance | path

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

/external/mesa3d/src/intel/vulkan/
Dgen7_cmd_buffer.c220 .GlobalDepthOffsetConstant = d->depth_bias.bias, in genX()
221 .GlobalDepthOffsetScale = d->depth_bias.slope, in genX()
222 .GlobalDepthOffsetClamp = d->depth_bias.clamp, in genX()
Danv_cmd_buffer.c53 .depth_bias = {
149 ANV_CMP_COPY(depth_bias.bias, ANV_CMD_DIRTY_DYNAMIC_DEPTH_BIAS); in anv_dynamic_state_copy()
150 ANV_CMP_COPY(depth_bias.clamp, ANV_CMD_DIRTY_DYNAMIC_DEPTH_BIAS); in anv_dynamic_state_copy()
151 ANV_CMP_COPY(depth_bias.slope, ANV_CMD_DIRTY_DYNAMIC_DEPTH_BIAS); in anv_dynamic_state_copy()
601 cmd_buffer->state.gfx.dynamic.depth_bias.bias = depthBiasConstantFactor; in anv_CmdSetDepthBias()
602 cmd_buffer->state.gfx.dynamic.depth_bias.clamp = depthBiasClamp; in anv_CmdSetDepthBias()
603 cmd_buffer->state.gfx.dynamic.depth_bias.slope = depthBiasSlopeFactor; in anv_CmdSetDepthBias()
Dgen8_cmd_buffer.c449 .GlobalDepthOffsetConstant = d->depth_bias.bias, in genX()
450 .GlobalDepthOffsetScale = d->depth_bias.slope, in genX()
451 .GlobalDepthOffsetClamp = d->depth_bias.clamp, in genX()
Danv_pipeline.c1893 dynamic->depth_bias.bias = in copy_non_dynamic_state()
1895 dynamic->depth_bias.clamp = in copy_non_dynamic_state()
1897 dynamic->depth_bias.slope = in copy_non_dynamic_state()
Danv_private.h2722 } depth_bias; member
/external/mesa3d/src/gallium/drivers/zink/
Dzink_draw.c252 bool depth_bias = false; in zink_draw_vbo() local
255 depth_bias = rast_state->offset_point; in zink_draw_vbo()
259 depth_bias = rast_state->offset_line; in zink_draw_vbo()
263 depth_bias = rast_state->offset_tri; in zink_draw_vbo()
458 if (depth_bias) in zink_draw_vbo()
/external/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()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_cmd_buffer.c53 .depth_bias = {
2824 if (memcmp(&dest->depth_bias, &src->depth_bias, in cmd_buffer_bind_pipeline_static_state()
2825 sizeof(src->depth_bias))) { in cmd_buffer_bind_pipeline_static_state()
2826 memcpy(&dest->depth_bias, &src->depth_bias, sizeof(src->depth_bias)); in cmd_buffer_bind_pipeline_static_state()
3450 if (!pipeline->depth_bias.enabled) in emit_depth_bias()
3461 bias.depth_offset_factor = dynamic->depth_bias.slope_factor; in emit_depth_bias()
3462 bias.depth_offset_units = dynamic->depth_bias.constant_factor; in emit_depth_bias()
3463 if (pipeline->depth_bias.is_z16) in emit_depth_bias()
4647 cmd_buffer->state.dynamic.depth_bias.constant_factor = depthBiasConstantFactor; in v3dv_CmdSetDepthBias()
4648 cmd_buffer->state.dynamic.depth_bias.slope_factor = depthBiasSlopeFactor; in v3dv_CmdSetDepthBias()
Dv3dv_pipeline.c2166 dynamic->depth_bias.constant_factor = in pipeline_init_dynamic_state()
2168 dynamic->depth_bias.slope_factor = in pipeline_init_dynamic_state()
2490 pipeline->depth_bias.enabled = false; in enable_depth_bias()
2491 pipeline->depth_bias.is_z16 = false; in enable_depth_bias()
2511 pipeline->depth_bias.is_z16 = true; in enable_depth_bias()
2513 pipeline->depth_bias.enabled = true; in enable_depth_bias()
Dv3dv_private.h716 } depth_bias; member
1651 } depth_bias; member
/external/mesa3d/src/amd/vulkan/
Dradv_cmd_buffer.c73 .depth_bias = {
152 if (memcmp(&dest->depth_bias, &src->depth_bias, in radv_bind_dynamic_state()
153 sizeof(src->depth_bias))) { in radv_bind_dynamic_state()
154 dest->depth_bias = src->depth_bias; in radv_bind_dynamic_state()
1424 unsigned slope = fui(d->depth_bias.slope * 16.0f); in radv_emit_depth_bias()
1425 unsigned bias = fui(d->depth_bias.bias * cmd_buffer->state.offset_scale); in radv_emit_depth_bias()
1430 radeon_emit(cmd_buffer->cs, fui(d->depth_bias.clamp)); /* CLAMP */ in radv_emit_depth_bias()
4365 if (state->dynamic.depth_bias.bias == depthBiasConstantFactor && in radv_CmdSetDepthBias()
4366 state->dynamic.depth_bias.clamp == depthBiasClamp && in radv_CmdSetDepthBias()
4367 state->dynamic.depth_bias.slope == depthBiasSlopeFactor) { in radv_CmdSetDepthBias()
[all …]
Dradv_pipeline.c1544 dynamic->depth_bias.bias = in radv_pipeline_init_dynamic_state()
1546 dynamic->depth_bias.clamp = in radv_pipeline_init_dynamic_state()
1548 dynamic->depth_bias.slope = in radv_pipeline_init_dynamic_state()
Dradv_private.h1153 } depth_bias; member