Home
last modified time | relevance | path

Searched refs:light_model_ctl1 (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_state.c888 GLuint light_model_ctl1 = rmesa->hw.tcl.cmd[TCL_LIGHT_MODEL_CTL_1]; in r200ColorMaterial() local
889 light_model_ctl1 &= ~((0xf << R200_FRONT_EMISSIVE_SOURCE_SHIFT) | in r200ColorMaterial()
902 light_model_ctl1 |= (R200_LM1_SOURCE_VERTEX_COLOR_0 << in r200ColorMaterial()
906 light_model_ctl1 |= (R200_LM1_SOURCE_MATERIAL_0 << in r200ColorMaterial()
910 light_model_ctl1 |= (R200_LM1_SOURCE_VERTEX_COLOR_0 << in r200ColorMaterial()
914 light_model_ctl1 |= (R200_LM1_SOURCE_MATERIAL_0 << in r200ColorMaterial()
918 light_model_ctl1 |= (R200_LM1_SOURCE_VERTEX_COLOR_0 << in r200ColorMaterial()
922 light_model_ctl1 |= (R200_LM1_SOURCE_MATERIAL_0 << in r200ColorMaterial()
926 light_model_ctl1 |= (R200_LM1_SOURCE_VERTEX_COLOR_0 << in r200ColorMaterial()
930 light_model_ctl1 |= (R200_LM1_SOURCE_MATERIAL_0 << in r200ColorMaterial()
[all …]
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_state.c730 GLuint light_model_ctl1 = rmesa->hw.tcl.cmd[TCL_LIGHT_MODEL_CTL]; in radeonColorMaterial() local
732 light_model_ctl1 &= ~((3 << RADEON_EMISSIVE_SOURCE_SHIFT) | in radeonColorMaterial()
741 light_model_ctl1 |= (RADEON_LM_SOURCE_VERTEX_DIFFUSE << in radeonColorMaterial()
745 light_model_ctl1 |= (RADEON_LM_SOURCE_STATE_MULT << in radeonColorMaterial()
750 light_model_ctl1 |= (RADEON_LM_SOURCE_VERTEX_DIFFUSE << in radeonColorMaterial()
754 light_model_ctl1 |= (RADEON_LM_SOURCE_STATE_MULT << in radeonColorMaterial()
759 light_model_ctl1 |= (RADEON_LM_SOURCE_VERTEX_DIFFUSE << in radeonColorMaterial()
763 light_model_ctl1 |= (RADEON_LM_SOURCE_STATE_MULT << in radeonColorMaterial()
768 light_model_ctl1 |= (RADEON_LM_SOURCE_VERTEX_DIFFUSE << in radeonColorMaterial()
772 light_model_ctl1 |= (RADEON_LM_SOURCE_STATE_MULT << in radeonColorMaterial()
[all …]