Searched refs:TwoSide (Results 1 – 18 of 18) sorted by relevance
190 if (ctx->Light.Model.TwoSide && in brw_upload_clip_prog()198 if (ctx->Light.Model.TwoSide && in brw_upload_clip_prog()
100 return ctx->Light.Enabled && ctx->Light.Model.TwoSide; in _mesa_vertex_program_two_side_enabled()
463 if (ctx->Light.Model.TwoSide == newbool) in _mesa_LightModelfv()466 ctx->Light.Model.TwoSide = newbool; in _mesa_LightModelfv()916 if (ctx->Light.Model.TwoSide) in _mesa_update_lighting()1157 lm->TwoSide = GL_FALSE; in init_lightmodel()
179 if (ctx->Light.Model.TwoSide) in make_state_key()
1206 (GLfloat) light->Model.TwoSide); in _mesa_PopAttrib()
394 GLboolean TwoSide; /**< Two (or one) sided lighting? */ member
250 OFFSET( "LIGHT_MODEL_TWO_SIDE ", struct gl_lightmodel, TwoSide ); in main()
172 GLboolean twosided = ctx->Light.Enabled && ctx->Light.Model.TwoSide; in choose_interp_func()190 GLboolean twosided = ctx->Light.Enabled && ctx->Light.Model.TwoSide; in choose_copy_pv_func()
372 if (ctx->Light.Model.TwoSide) in run_lighting()
251 if ((ctx->Light.Enabled && ctx->Light.Model.TwoSide) || in _swsetup_choose_trifuncs()
279 GLboolean twosided = ctx->Light.Enabled && ctx->Light.Model.TwoSide; in radeonChooseVertexState()700 GLboolean twosided = ctx->Light.Enabled && ctx->Light.Model.TwoSide; in radeonChooseRenderState()
707 if (ctx->Light.Enabled && ctx->Light.Model.TwoSide) { in check_twoside_fallback()1060 if (ctx->Light.Model.TwoSide) in radeonLightModelfv()
194 PUSH_DATAb(push, ctx->Light.Model.TwoSide); in nv20_emit_light_model()
202 if (ctx->Light.Model.TwoSide) { in vbo_choose_attrs()
243 GLboolean twosided = ctx->Light.Enabled && ctx->Light.Model.TwoSide; in r200ChooseVertexState()577 GLboolean twosided = ctx->Light.Enabled && ctx->Light.Model.TwoSide; in r200ChooseRenderState()
1288 if (ctx->Light.Model.TwoSide) in r200LightModelfv()
950 ctx->Light.Model.TwoSide) ? DD_TRI_LIGHT_TWOSIDE : 0) | in intelChooseRenderState()
108 { GL_LIGHT_MODEL_TWO_SIDE, CONTEXT_BOOL(Light.Model.TwoSide), NO_EXTRA },