Home
last modified time | relevance | path

Searched refs:TwoSide (Results 1 – 16 of 16) sorted by relevance

/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_clip.c190 if (ctx->Light.Model.TwoSide && in brw_upload_clip_prog()
198 if (ctx->Light.Model.TwoSide && in brw_upload_clip_prog()
/third_party/mesa3d/src/mesa/main/
Dstate.h109 return ctx->Light.Enabled && ctx->Light.Model.TwoSide; in _mesa_vertex_program_two_side_enabled()
Dlight.c525 if (ctx->Light.Model.TwoSide == newbool) in _mesa_LightModelfv()
529 ctx->Light.Model.TwoSide = newbool; in _mesa_LightModelfv()
998 if (ctx->Light.Model.TwoSide) in _mesa_update_light_materials()
1243 lm->TwoSide = GL_FALSE; in init_lightmodel()
Dffvertex_prog.c179 if (ctx->Light.Model.TwoSide) in make_state_key()
Dattrib.c1002 (GLfloat) attr->Light.Model.TwoSide); in _mesa_PopAttrib()
Dmtypes.h295 GLboolean TwoSide; /**< Two (or one) sided lighting? */ member
/third_party/mesa3d/src/mesa/tnl/
Dt_vertex.c173 GLboolean twosided = ctx->Light.Enabled && ctx->Light.Model.TwoSide; in choose_interp_func()
191 GLboolean twosided = ctx->Light.Enabled && ctx->Light.Model.TwoSide; in choose_copy_pv_func()
Dt_vb_light.c372 if (ctx->Light.Model.TwoSide) in run_lighting()
/third_party/mesa3d/src/mesa/swrast_setup/
Dss_triangle.c251 if ((ctx->Light.Enabled && ctx->Light.Model.TwoSide) || in _swsetup_choose_trifuncs()
/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_swtcl.c278 GLboolean twosided = ctx->Light.Enabled && ctx->Light.Model.TwoSide; in radeonChooseVertexState()
699 GLboolean twosided = ctx->Light.Enabled && ctx->Light.Model.TwoSide; in radeonChooseRenderState()
Dradeon_state.c706 if (ctx->Light.Enabled && ctx->Light.Model.TwoSide) { in check_twoside_fallback()
1060 if (ctx->Light.Model.TwoSide) in radeonLightModelfv()
/third_party/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv20_state_tnl.c194 PUSH_DATAb(push, ctx->Light.Model.TwoSide); in nv20_emit_light_model()
Dnouveau_vbo_t.c213 if (ctx->Light.Model.TwoSide) { in vbo_choose_attrs()
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dr200_swtcl.c243 GLboolean twosided = ctx->Light.Enabled && ctx->Light.Model.TwoSide; in r200ChooseVertexState()
577 GLboolean twosided = ctx->Light.Enabled && ctx->Light.Model.TwoSide; in r200ChooseRenderState()
Dr200_state.c1289 if (ctx->Light.Model.TwoSide) in r200LightModelfv()
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tris.c950 ctx->Light.Model.TwoSide) ? DD_TRI_LIGHT_TWOSIDE : 0) | in intelChooseRenderState()