• Home
  • Raw
  • Download

Lines Matching refs:diffuse

25 …if(state.color[0].component & 0x1) diffuse.x = convertFixed12(v[0].x); else diffuse.x = Short4(0x1…  in setBuiltins()
26 …if(state.color[0].component & 0x2) diffuse.y = convertFixed12(v[0].y); else diffuse.y = Short4(0x1… in setBuiltins()
27 …if(state.color[0].component & 0x4) diffuse.z = convertFixed12(v[0].z); else diffuse.z = Short4(0x1… in setBuiltins()
28 …if(state.color[0].component & 0x8) diffuse.w = convertFixed12(v[0].w); else diffuse.w = Short4(0x1… in setBuiltins()
38 current = diffuse; in fixedFunction()
448 case TextureStage::SOURCE_DIFFUSE: arg1 = &diffuse; break; in blendTexture()
461 case TextureStage::SOURCE_DIFFUSE: arg2 = &diffuse; break; in blendTexture()
474 case TextureStage::SOURCE_DIFFUSE: arg3 = &diffuse; break; in blendTexture()
697 …res.x = SubSat(arg1->x, arg2->x); res.x = MulHigh(res.x, diffuse.w) << 4; res.x = AddSat(res.x, ar… in blendTexture()
698 …res.y = SubSat(arg1->y, arg2->y); res.y = MulHigh(res.y, diffuse.w) << 4; res.y = AddSat(res.y, ar… in blendTexture()
699 …res.z = SubSat(arg1->z, arg2->z); res.z = MulHigh(res.z, diffuse.w) << 4; res.z = AddSat(res.z, ar… in blendTexture()
820 case TextureStage::SOURCE_DIFFUSE: arg1 = &diffuse; break; in blendTexture()
833 case TextureStage::SOURCE_DIFFUSE: arg2 = &diffuse; break; in blendTexture()
846 case TextureStage::SOURCE_DIFFUSE: arg3 = &diffuse; break; in blendTexture()
973 …res.w = SubSat(arg1->w, arg2->w); res.w = MulHigh(res.w, diffuse.w) << 4; res.w = AddSat(res.w, ar… in blendTexture()