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.c728 GLuint light_model_ctl1 = rmesa->hw.tcl.cmd[TCL_LIGHT_MODEL_CTL]; in radeonColorMaterial() local
730 light_model_ctl1 &= ~((3 << RADEON_EMISSIVE_SOURCE_SHIFT) | in radeonColorMaterial()
739 light_model_ctl1 |= (RADEON_LM_SOURCE_VERTEX_DIFFUSE << in radeonColorMaterial()
743 light_model_ctl1 |= (RADEON_LM_SOURCE_STATE_MULT << in radeonColorMaterial()
748 light_model_ctl1 |= (RADEON_LM_SOURCE_VERTEX_DIFFUSE << in radeonColorMaterial()
752 light_model_ctl1 |= (RADEON_LM_SOURCE_STATE_MULT << in radeonColorMaterial()
757 light_model_ctl1 |= (RADEON_LM_SOURCE_VERTEX_DIFFUSE << in radeonColorMaterial()
761 light_model_ctl1 |= (RADEON_LM_SOURCE_STATE_MULT << in radeonColorMaterial()
766 light_model_ctl1 |= (RADEON_LM_SOURCE_VERTEX_DIFFUSE << in radeonColorMaterial()
770 light_model_ctl1 |= (RADEON_LM_SOURCE_STATE_MULT << in radeonColorMaterial()
[all …]