/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_atom_rasterizer.c | 115 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 D | draw_pipe_cull.c | 44 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 D | fd5_rasterizer.c | 77 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 D | fd4_rasterizer.c | 87 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 D | fd2_rasterizer.c | 83 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 D | fd3_rasterizer.c | 87 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 D | etnaviv_translate.h | 46 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 D | etnaviv_rasterizer.c | 51 translate_cull_face(so->cull_face, so->front_ccw) | in etna_rasterizer_state_create()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
H A D | fd6_rasterizer.c | 64 .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 D | polygon.c | 57 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 D | ac_nir_cull.c | 59 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 D | svga_pipe_rasterizer.c | 111 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 D | svga_pipe_draw.c | 245 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 D | nv30_state.c | 151 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 D | tri-large.c | 130 rasterizer.cull_face = PIPE_FACE_NONE; in init()
|
H A D | tri.c | 127 rasterizer.cull_face = PIPE_FACE_NONE; in init()
|
H A D | quad-tex.c | 192 rasterizer.cull_face = PIPE_FACE_NONE; in init()
|
H A D | tri-gs.c | 260 rasterizer.cull_face = PIPE_FACE_NONE; in init()
|
H A D | shader-leak.c | 255 rasterizer.cull_face = PIPE_FACE_NONE; in init()
|
/third_party/mesa3d/src/gallium/auxiliary/postprocess/ |
H A D | pp_program.c | 92 p->rasterizer.cull_face = PIPE_FACE_NONE; in pp_init_prog()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fNegativeFragmentApiTests.cpp | 181 ES2F_ADD_API_CASE(cull_face, "Invalid glCullFace() usage", in init()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fNegativeFragmentApiTests.cpp | 284 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 D | Rasterizer.cpp | 215 state.cull_face = translate_cull_mode(pRasterizerDesc->CullMode); in CreateRasterizerState()
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
H A D | vc4_state.c | 108 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 D | sp_setup.c | 115 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()
|