Home
last modified time | relevance | path

Searched refs:front_ccw (Results 1 – 25 of 58) sorted by relevance

123

/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_cull.c45 unsigned front_ccw; member
83 unsigned face = ((ccw == cull_stage(stage)->front_ccw) ? in cull_tri()
111 cull->front_ccw = stage->draw->rasterizer->front_ccw; in cull_first_tri()
Ddraw_pipe_unfilled.c67 (stage->draw->rasterizer->front_ccw && header->det < 0.0f) || in inject_front_face_info()
68 (!stage->draw->rasterizer->front_ccw && header->det > 0.0f)); in inject_front_face_info()
217 unfilled->mode[0] = rast->front_ccw ? rast->fill_front : rast->fill_back; in unfilled_first_tri()
218 unfilled->mode[1] = rast->front_ccw ? rast->fill_back : rast->fill_front; in unfilled_first_tri()
Ddraw_pipe_twoside.c138 twoside->sign = stage->draw->rasterizer->front_ccw ? -1.0f : 1.0f; in twoside_first_tri()
Ddraw_pipe_offset.c158 if (ccw != rast->front_ccw) in offset_first_tri()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_rasterizer.c42 svga_translate_cullmode(unsigned mode, unsigned front_ccw) in svga_translate_cullmode() argument
49 return front_ccw == hw_front_ccw ? SVGA3D_FACE_FRONT : SVGA3D_FACE_BACK; in svga_translate_cullmode()
51 return front_ccw == hw_front_ccw ? SVGA3D_FACE_BACK : SVGA3D_FACE_FRONT; in svga_translate_cullmode()
144 rast->templ.front_ccw, in svga_define_rasterizer_object()
163 rast->templ.front_ccw, in svga_define_rasterizer_object()
202 rast->cullmode = svga_translate_cullmode(templ->cull_face, templ->front_ccw); in svga_create_rasterizer_state()
Dsvga_state_fs.c168 key->fs.front_ccw = svga->curr.rast->templ.front_ccw; in make_fs_key()
Dsvga_state_rss.c173 if (rast->templ.front_ccw) { in emit_rss_vgpu9()
331 rast.front_ccw = 1; in get_no_cull_rasterizer_state()
Dsvga_shader.h83 unsigned front_ccw:1; member
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_translate.h46 translate_cull_face(unsigned cull_face, unsigned front_ccw) in translate_cull_face() argument
53 return front_ccw ? VIVS_PA_CONFIG_CULL_FACE_MODE_CW in translate_cull_face()
56 return front_ccw ? VIVS_PA_CONFIG_CULL_FACE_MODE_CCW in translate_cull_face()
Detnaviv_shader.h51 unsigned front_ccw : 1; member
Detnaviv_rasterizer.c51 translate_cull_face(so->cull_face, so->front_ccw) | in etna_rasterizer_state_create()
Detnaviv_nir.c54 if (v->key.front_ccw) in etna_lower_io()
Detnaviv_context.c291 .front_ccw = ctx->rasterizer->front_ccw, in etna_draw_vbo()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom_rasterizer.c76 raster->front_ccw = (ctx->Polygon.FrontFace == GL_CCW); in st_update_rasterizer()
80 raster->front_ccw ^= 1; in st_update_rasterizer()
91 raster->front_ccw ^= 1; in st_update_rasterizer()
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_rasterizer.c91 if (!cso->front_ccw) in fd3_rasterizer_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_rasterizer.c81 if (!cso->front_ccw) in fd5_rasterizer_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_rasterizer.c91 if (!cso->front_ccw) in fd4_rasterizer_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_rasterizer.c89 if (!cso->front_ccw) in fd2_rasterizer_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_rasterizer.c66 .front_cw = !cso->front_ccw, )); in __fd6_setup_rasterizer_stateobj()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_compiler.h205 unsigned front_ccw:1; member
Dd3d12_gs_variant.cpp262 emit_ctx->edgeflag_cmp = nir_cull_face(b, pos_var, key->front_ccw); in d3d12_begin_emit_primitives_gs()
264 emit_ctx->edgeflag_cmp = nir_cull_face(b, pos_var, !key->front_ccw); in d3d12_begin_emit_primitives_gs()
270 emit_ctx->front_facing = nir_cull_face(b, pos_var, key->front_ccw); in d3d12_begin_emit_primitives_gs()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DRasterizer.cpp214 state.front_ccw = (pRasterizerDesc->FrontCounterClockwise ? 1 : 0); in CreateRasterizerState()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_context.h376 return i915->rasterizer->templ.front_ccw && in i915_stencil_ccw()
Di915_state.c897 if (rasterizer->front_ccw) in i915_create_rasterizer_state()
903 if (rasterizer->front_ccw) in i915_create_rasterizer_state()
/third_party/mesa3d/src/gallium/include/pipe/
Dp_state.h99 unsigned front_ccw:1; member

123