Home
last modified time | relevance | path

Searched refs:cull_face (Results 1 - 25 of 71) sorted by relevance

123

/third_party/mesa3d/src/mesa/state_tracker/
H A Dst_atom_rasterizer.c115 raster->cull_face = PIPE_FACE_FRONT; in st_update_rasterizer()
118 raster->cull_face = PIPE_FACE_BACK; in st_update_rasterizer()
121 raster->cull_face = PIPE_FACE_FRONT_AND_BACK; in st_update_rasterizer()
126 raster->cull_face = PIPE_FACE_NONE; in st_update_rasterizer()
143 if (raster->cull_face & PIPE_FACE_FRONT) { in st_update_rasterizer()
147 if (raster->cull_face & PIPE_FACE_BACK) { in st_update_rasterizer()
293 raster->cull_face |= PIPE_FACE_FRONT; in st_update_rasterizer()
295 raster->cull_face |= PIPE_FACE_BACK; in st_update_rasterizer()
/third_party/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pipe_cull.c44 unsigned cull_face; /**< which face(s) to cull (one of PIPE_FACE_x) */ member
87 if ((face & cull_stage(stage)->cull_face) == 0) { in cull_tri()
98 if ((PIPE_FACE_BACK & cull_stage(stage)->cull_face) == 0) { in cull_tri()
110 cull->cull_face = stage->draw->rasterizer->cull_face; in cull_first_tri()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_rasterizer.c77 if (cso->cull_face & PIPE_FACE_FRONT) in fd5_rasterizer_state_create()
79 if (cso->cull_face & PIPE_FACE_BACK) in fd5_rasterizer_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_rasterizer.c87 if (cso->cull_face & PIPE_FACE_FRONT) in fd4_rasterizer_state_create()
89 if (cso->cull_face & PIPE_FACE_BACK) in fd4_rasterizer_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_rasterizer.c83 if (cso->cull_face & PIPE_FACE_FRONT) in fd2_rasterizer_state_create()
85 if (cso->cull_face & PIPE_FACE_BACK) in fd2_rasterizer_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_rasterizer.c87 if (cso->cull_face & PIPE_FACE_FRONT) in fd3_rasterizer_state_create()
89 if (cso->cull_face & PIPE_FACE_BACK) in fd3_rasterizer_state_create()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_translate.h46 translate_cull_face(unsigned cull_face, unsigned front_ccw) in translate_cull_face() argument
48 switch (cull_face) { in translate_cull_face()
59 DBG("Unhandled cull face mode %i", cull_face); in translate_cull_face()
H A Detnaviv_rasterizer.c51 translate_cull_face(so->cull_face, so->front_ccw) | in etna_rasterizer_state_create()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_rasterizer.c64 .cull_front = cso->cull_face & PIPE_FACE_FRONT, in __fd6_setup_rasterizer_stateobj()
65 .cull_back = cso->cull_face & PIPE_FACE_BACK, in __fd6_setup_rasterizer_stateobj()
/third_party/mesa3d/src/mesa/main/
H A Dpolygon.c57 cull_face(struct gl_context *ctx, GLenum mode, bool no_error) in cull_face() function
79 cull_face(ctx, mode, true); in _mesa_CullFace_no_error()
91 cull_face(ctx, mode, false); in _mesa_CullFace()
/third_party/mesa3d/src/amd/common/
H A Dac_nir_cull.c59 cull_face(nir_builder *b, nir_ssa_def *pos[3][4], const position_w_info *w_info) in cull_face() function
160 accepted = nir_iand(b, accepted, cull_face(b, pos, &w_info)); in ac_nir_cull_triangle()
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_pipe_rasterizer.c111 const unsigned cull_mode = translate_cull_mode(rast->templ.cull_face); in svga_define_rasterizer_object()
202 rast->cullmode = svga_translate_cullmode(templ->cull_face, templ->front_ccw); in svga_create_rasterizer_state()
302 switch (templ->cull_face) { in svga_create_rasterizer_state()
H A Dsvga_pipe_draw.c245 svga->curr.rast->templ.cull_face == PIPE_FACE_FRONT_AND_BACK) in svga_draw_vbo()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
H A Dnv30_state.c151 if (cso->cull_face == PIPE_FACE_FRONT_AND_BACK) in nv30_rasterizer_state_create()
154 if (cso->cull_face == PIPE_FACE_FRONT) in nv30_rasterizer_state_create()
161 SB_DATA (so, cso->cull_face != PIPE_FACE_NONE); in nv30_rasterizer_state_create()
/third_party/mesa3d/src/gallium/tests/graw/
H A Dtri-large.c130 rasterizer.cull_face = PIPE_FACE_NONE; in init()
H A Dtri.c127 rasterizer.cull_face = PIPE_FACE_NONE; in init()
H A Dquad-tex.c192 rasterizer.cull_face = PIPE_FACE_NONE; in init()
H A Dtri-gs.c260 rasterizer.cull_face = PIPE_FACE_NONE; in init()
H A Dshader-leak.c255 rasterizer.cull_face = PIPE_FACE_NONE; in init()
/third_party/mesa3d/src/gallium/auxiliary/postprocess/
H A Dpp_program.c92 p->rasterizer.cull_face = PIPE_FACE_NONE; in pp_init_prog()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fNegativeFragmentApiTests.cpp181 ES2F_ADD_API_CASE(cull_face, "Invalid glCullFace() usage", in init()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fNegativeFragmentApiTests.cpp284 void cull_face (NegativeTestContext& ctx) in cull_face() function
500 {cull_face, "cull_face", "Invalid glCullFace() usage" }, in getNegativeFragmentApiTestFunctions()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
H A DRasterizer.cpp215 state.cull_face = translate_cull_mode(pRasterizerDesc->CullMode); in CreateRasterizerState()
/third_party/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_state.c108 if (!(cso->cull_face & PIPE_FACE_FRONT)) in vc4_create_rasterizer_state()
110 if (!(cso->cull_face & PIPE_FACE_BACK)) in vc4_create_rasterizer_state()
/third_party/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_setup.c115 unsigned cull_face; /* which faces cull */ member
390 if (face & setup->cull_face) in setup_sort_vertices()
1410 setup->cull_face = sp->rasterizer->cull_face; in sp_setup_prepare()
1414 setup->cull_face = PIPE_FACE_NONE; in sp_setup_prepare()

Completed in 13 milliseconds

123