Searched refs:TwoSide (Results 1 – 19 of 19) sorted by relevance
246 if (ctx->Light.Model.TwoSide && in brw_upload_clip_prog()254 if (ctx->Light.Model.TwoSide && in brw_upload_clip_prog()
215 key.do_twoside_color = ((ctx->Light.Enabled && ctx->Light.Model.TwoSide) || in brw_upload_sf_prog()
464 if (ctx->Light.Model.TwoSide == newbool) in _mesa_LightModelfv()467 ctx->Light.Model.TwoSide = newbool; in _mesa_LightModelfv()917 if (ctx->Light.Model.TwoSide) in _mesa_update_lighting()1156 lm->TwoSide = GL_FALSE; in init_lightmodel()
363 ctx->Light.Model.TwoSide); in update_twoside()
179 if (ctx->Light.Model.TwoSide) in make_state_key()
379 GLboolean TwoSide; /**< Two (or one) sided lighting? */ member
1192 (GLfloat) light->Model.TwoSide); in _mesa_PopAttrib()
254 OFFSET( "LIGHT_MODEL_TWO_SIDE ", struct gl_lightmodel, TwoSide ); in main()
171 GLboolean twosided = ctx->Light.Enabled && ctx->Light.Model.TwoSide; in choose_interp_func()189 GLboolean twosided = ctx->Light.Enabled && ctx->Light.Model.TwoSide; in choose_copy_pv_func()
372 if (ctx->Light.Model.TwoSide) in run_lighting()
249 if ((ctx->Light.Enabled && ctx->Light.Model.TwoSide) || in _swsetup_choose_trifuncs()
278 GLboolean twosided = ctx->Light.Enabled && ctx->Light.Model.TwoSide; in radeonChooseVertexState()699 GLboolean twosided = ctx->Light.Enabled && ctx->Light.Model.TwoSide; in radeonChooseRenderState()
708 if (ctx->Light.Enabled && ctx->Light.Model.TwoSide) { in check_twoside_fallback()1061 if (ctx->Light.Model.TwoSide) in radeonLightModelfv()
194 PUSH_DATAb(push, ctx->Light.Model.TwoSide); in nv20_emit_light_model()
192 if (ctx->Light.Model.TwoSide) { in vbo_choose_attrs()
242 GLboolean twosided = ctx->Light.Enabled && ctx->Light.Model.TwoSide; in r200ChooseVertexState()576 GLboolean twosided = ctx->Light.Enabled && ctx->Light.Model.TwoSide; in r200ChooseRenderState()
1288 if (ctx->Light.Model.TwoSide) in r200LightModelfv()
949 ctx->Light.Model.TwoSide) ? DD_TRI_LIGHT_TWOSIDE : 0) | in intelChooseRenderState()
108 { GL_LIGHT_MODEL_TWO_SIDE, CONTEXT_BOOL(Light.Model.TwoSide), NO_EXTRA },