• Home
  • Raw
  • Download

Lines Matching refs:coordinate

550 	bool Context::texCoordActive(int coordinate, int component)  in texCoordActive()  argument
558 if(vertexShader->getOutput(T0 + coordinate, component).usage == Shader::USAGE_TEXCOORD) in texCoordActive()
570 switch(texGen[coordinate]) in texCoordActive()
576 …hasTexture = hasTexture || (component < input[TexCoord0 + textureStage[coordinate].texCoordIndex].… in texCoordActive()
595 bool project = isProjectionComponent(coordinate, component); in texCoordActive()
600 usesTexture = pixelShader->usesTexture(coordinate, component) || project; in texCoordActive()
604 usesTexture = textureStage[coordinate].usesTexture() || project; in texCoordActive()
610 bool Context::texCoordActive(int coordinate) in texCoordActive() argument
612 return texCoordActive(coordinate, 0) || in texCoordActive()
613 texCoordActive(coordinate, 1) || in texCoordActive()
614 texCoordActive(coordinate, 2) || in texCoordActive()
615 texCoordActive(coordinate, 3); in texCoordActive()
618 bool Context::isProjectionComponent(unsigned int coordinate, int component) in isProjectionComponent() argument
620 if(pixelShaderModel() <= 0x0103 && coordinate < 8 && textureTransformProject[coordinate]) in isProjectionComponent()
622 if(textureTransformCount[coordinate] == 2) in isProjectionComponent()
626 else if(textureTransformCount[coordinate] == 3) in isProjectionComponent()
630 else if(textureTransformCount[coordinate] == 4 || textureTransformCount[coordinate] == 0) in isProjectionComponent()
1369 bool Context::textureActive(int coordinate) in textureActive() argument
1371 …return textureActive(coordinate, 0) || textureActive(coordinate, 1) || textureActive(coordinate, 2… in textureActive()
1374 bool Context::textureActive(int coordinate, int component) in textureActive() argument
1381 if(!texCoordActive(coordinate, component)) in textureActive()
1386 if(textureTransformProject[coordinate] && pixelShaderModel() <= 0x0103) in textureActive()
1388 if(textureTransformCount[coordinate] == 2) in textureActive()
1392 else if(textureTransformCount[coordinate] == 3) in textureActive()
1396 else if(textureTransformCount[coordinate] == 4 || textureTransformCount[coordinate] == 0) in textureActive()
1404 bool texture = textureStage[coordinate].usesTexture(); in textureActive()
1405 bool cube = sampler[coordinate].hasCubeTexture(); in textureActive()
1406 bool volume = sampler[coordinate].hasVolumeTexture(); in textureActive()
1410 for(int i = coordinate; i >= 0; i--) in textureActive()
1433 return pixelShader->usesTexture(coordinate, component); in textureActive()