Home
last modified time | relevance | path

Searched refs:offset_scale (Results 1 – 25 of 43) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_rasterizer.c58 cs->SE_DEPTH_SCALE = fui(so->offset_scale); in etna_rasterizer_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_rasterizer.c71 A3XX_GRAS_SU_POLY_OFFSET_SCALE_VAL(cso->offset_scale); in fd3_rasterizer_state_create()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_state.h79 float offset_units, offset_clamp, offset_scale; member
Dzink_state.c663 state->offset_scale = rs_state->offset_scale; in zink_create_rasterizer_state()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_rasterizer.c61 A5XX_GRAS_SU_POLY_OFFSET_SCALE(cso->offset_scale); in fd5_rasterizer_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_rasterizer.c70 A4XX_GRAS_SU_POLY_OFFSET_SCALE(cso->offset_scale); in fd4_rasterizer_state_create()
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_draw.c589 int offset_scale = 0, offset_units = 0; in lima_calculate_depth_test() local
592 offset_scale = CLAMP(rst->offset_scale * 4, -128, 127); in lima_calculate_depth_test()
593 if (offset_scale < 0) in lima_calculate_depth_test()
594 offset_scale += 0x100; in lima_calculate_depth_test()
602 (offset_scale << 16) | in lima_calculate_depth_test()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_rasterizer.c112 const float slope_scaled_depth_bias = rast->templ.offset_scale; in define_rasterizer_object()
339 rast->slopescaledepthbias = templ->offset_scale; in svga_create_rasterizer_state()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_rasterizer.c73 OUT_REG(ring, A6XX_GRAS_SU_POLY_OFFSET_SCALE(cso->offset_scale), in __fd6_setup_rasterizer_stateobj()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_rasterizer.c52 rast->offset_scale = 0.0f; in clear_flags()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/int8/
Dscale_int8.cc195 auto offset_scale = offset->quant_params().front().scale; in InitQuantArgs() local
198 const double offset_multiplier = offset_scale / output_scale; in InitQuantArgs()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DRasterizer.cpp221 state.offset_scale = pRasterizerDesc->SlopeScaledDepthBias; in CreateRasterizerState()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_offset.c179 offset->scale = rast->offset_scale; in offset_first_tri()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_rasterizer.c161 raster->offset_scale = ctx->Polygon.OffsetFactor; in st_update_rasterizer()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_emit.c306 fui(rasterizer->base.offset_scale * 2.0f)); /* FRONT_SCALE */ in fd2_emit_state()
309 fui(rasterizer->base.offset_scale * 2.0f)); /* BACK_SCALE */ in fd2_emit_state()
/third_party/mesa3d/src/gallium/include/pipe/
Dp_state.h210 float offset_scale; member
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_pipeline_state.cpp244 pso_desc.RasterizerState.SlopeScaledDepthBias = state->rast->base.offset_scale; in create_gfx_pipeline_state()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_pipe.h307 float offset_scale; member
320 float offset_scale; member
Dr600_state.c257 float offset_scale = state->offset_scale; in r600_emit_polygon_offset() local
281 radeon_emit(cs, fui(offset_scale)); in r600_emit_polygon_offset()
283 radeon_emit(cs, fui(offset_scale)); in r600_emit_polygon_offset()
498 rs->offset_scale = state->offset_scale * 16.0f; in r600_create_rs_state()
Dr600_state_common.c390 rs->offset_scale != rctx->poly_offset_state.offset_scale || in r600_bind_rs_state()
393 rctx->poly_offset_state.offset_scale = rs->offset_scale; in r600_bind_rs_state()
/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_pipe.c136 rast.offset_scale = asfloat(rs[D3DRS_SLOPESCALEDEPTHBIAS]); in nine_convert_rasterizer_state()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_state.c169 SB_DATA (so, fui(cso->offset_scale)); in nv30_rasterizer_state_create()
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3dx_state.c106 depth.depth_offset_factor = cso->offset_scale; in v3d_create_rasterizer_state()
114 depth.depth_offset_factor = cso->offset_scale; in v3d_create_rasterizer_state()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_state.c129 float_to_187_half(cso->offset_scale); in vc4_create_rasterizer_state()
/third_party/mesa3d/src/gallium/auxiliary/driver_trace/
Dtr_dump_state.c161 trace_dump_member(float, state, offset_scale); in trace_dump_rasterizer_state()

12