Home
last modified time | relevance | path

Searched refs:offset_units (Results 1 – 25 of 48) sorted by relevance

12

/third_party/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_load_store_bitsize.c84 const int offset_units = bit_size / 8; in init_scalar_intrinsic() local
85 assert(offset_units >= 1); in init_scalar_intrinsic()
92 align_off += offset_units * component; in init_scalar_intrinsic()
99 unsigned offset_adj = offset_units * component; in init_scalar_intrinsic()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_wrmasks.c129 const int offset_units = value->bit_size / 8; in split_wrmask() local
136 align_off += offset_units * first_component; in split_wrmask()
146 unsigned offset_adj = offset_units * first_component; in split_wrmask()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_offset.c188 offset->units = (float) rast->offset_units; in offset_first_tri()
190 offset->units = (float) (rast->offset_units * stage->draw->mrd * 2); in offset_first_tri()
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_draw.c563 int offset_scale = 0, offset_units = 0; in lima_calculate_depth_test() local
570 offset_units = CLAMP(rst->offset_units * 2, -128, 127); in lima_calculate_depth_test()
571 if (offset_units < 0) in lima_calculate_depth_test()
572 offset_units += 0x100; in lima_calculate_depth_test()
577 (offset_units << 24); in lima_calculate_depth_test()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_rasterizer.c59 cs->SE_DEPTH_BIAS = fui((so->offset_units / 65535.0f) * 2.0f); in etna_rasterizer_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_rasterizer.c63 A5XX_GRAS_SU_POLY_OFFSET_OFFSET(cso->offset_units); in fd5_rasterizer_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_rasterizer.c73 A3XX_GRAS_SU_POLY_OFFSET_OFFSET(cso->offset_units * 2.0f); in fd3_rasterizer_state_create()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_rasterizer.c51 rast->offset_units = 0.0f; in clear_flags()
Dlp_state_setup.c783 key->pgon_offset_units = (float) lp->rasterizer->offset_units; in lp_make_setup_variant_key()
786 (float) (lp->rasterizer->offset_units * lp->mrd * 2); in lp_make_setup_variant_key()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_rasterizer.c72 A4XX_GRAS_SU_POLY_OFFSET_OFFSET(cso->offset_units * 2.0f); in fd4_rasterizer_state_create()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_rasterizer.c112 const int depth_bias = rast->templ.offset_units; in svga_define_rasterizer_object()
372 rast->depthbias = templ->offset_units; in svga_create_rasterizer_state()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_rasterizer.c73 A6XX_GRAS_SU_POLY_OFFSET_OFFSET(cso->offset_units), in __fd6_setup_rasterizer_stateobj()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_state.h85 float offset_units, offset_clamp, offset_scale; member
Dzink_state.c614 state->offset_units = rs_state->offset_units; in zink_create_rasterizer_state()
616 state->offset_units *= 2; in zink_create_rasterizer_state()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DRasterizer.cpp220 state.offset_units = (float)pRasterizerDesc->DepthBias; in CreateRasterizerState()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_emit.c307 OUT_RING(ring, fui(rasterizer->base.offset_units)); /* FRONT_OFFSET */ in fd2_emit_state()
310 OUT_RING(ring, fui(rasterizer->base.offset_units)); /* BACK_OFFSET */ in fd2_emit_state()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_rasterizer.c160 raster->offset_units = ctx->Polygon.OffsetUnits; in st_update_rasterizer()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_state.c256 float offset_units = state->offset_units; in r600_emit_polygon_offset() local
264 offset_units *= 2.0f; in r600_emit_polygon_offset()
269 offset_units *= 4.0f; in r600_emit_polygon_offset()
282 radeon_emit(cs, fui(offset_units)); in r600_emit_polygon_offset()
284 radeon_emit(cs, fui(offset_units)); in r600_emit_polygon_offset()
497 rs->offset_units = state->offset_units; in r600_create_rs_state()
Dr600_pipe.h306 float offset_units; member
319 float offset_units; member
/third_party/mesa3d/src/gallium/include/pipe/
Dp_state.h217 float offset_units; member
/third_party/mesa3d/docs/gallium/cso/
Drasterizer.rst128 offset_units
132 GL/D3D1X behavior. If true, offset_units is a floating point offset
/third_party/mesa3d/src/gallium/frontends/nine/
Dnine_pipe.c134 …rast.offset_units = asfloat(rs[D3DRS_DEPTHBIAS]) * (device->driver_caps.offset_units_unscaled ? 1.… in nine_convert_rasterizer_state()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_state.c170 SB_DATA (so, fui(cso->offset_units * 2.0)); in nv30_rasterizer_state_create()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_pipeline_state.cpp288 pso_desc.RasterizerState.DepthBias = state->rast->base.offset_units * 2; in create_gfx_pipeline_state()
/third_party/mesa3d/src/intel/compiler/
Dbrw_clip_unfilled.c215 brw_ADD(p, vec1(off), vec1(off), brw_imm_f(c->key.offset_units)); in compute_offset()

12