Home
last modified time | relevance | path

Searched refs:textureStage (Results 1 – 7 of 7) sorted by relevance

/external/swiftshader/src/Renderer/
DPixelProcessor.cpp184 context->textureStage[stage].setTexCoordIndex(texCoordIndex); in setTexCoordIndex()
193 context->textureStage[stage].setStageOperation(stageOperation); in setStageOperation()
202 context->textureStage[stage].setFirstArgument(firstArgument); in setFirstArgument()
211 context->textureStage[stage].setSecondArgument(secondArgument); in setSecondArgument()
220 context->textureStage[stage].setThirdArgument(thirdArgument); in setThirdArgument()
229 context->textureStage[stage].setStageOperationAlpha(stageOperationAlpha); in setStageOperationAlpha()
238 context->textureStage[stage].setFirstArgumentAlpha(firstArgumentAlpha); in setFirstArgumentAlpha()
247 context->textureStage[stage].setSecondArgumentAlpha(secondArgumentAlpha); in setSecondArgumentAlpha()
256 context->textureStage[stage].setThirdArgumentAlpha(thirdArgumentAlpha); in setThirdArgumentAlpha()
265 context->textureStage[stage].setFirstModifier(firstModifier); in setFirstModifier()
[all …]
DContext.cpp203 textureStage[i].init(i, &sampler[i], (i >= 1) ? &textureStage[i - 1] : 0); in init()
576 …hasTexture = hasTexture || (component < input[TexCoord0 + textureStage[coordinate].texCoordIndex].… in texCoordActive()
604 usesTexture = textureStage[coordinate].usesTexture() || project; in texCoordActive()
1180 return textureStage[stage].texCoordIndex; in texCoordIndexActive()
1223 if(textureStage[i].isStageDisabled()) in diffuseUsed()
1228 if(textureStage[i].usesDiffuse()) in diffuseUsed()
1237 …if(textureStage[i].usesCurrent() || textureStage[i].isStageDisabled()) // Current color contains… in diffuseUsed()
1242 if(textureStage[i].writesCurrent()) in diffuseUsed()
1306 if(textureStage[i].isStageDisabled()) break; in specularUsed()
1308 pixelSpecular = pixelSpecular || textureStage[i].usesSpecular(); in specularUsed()
[all …]
DContext.hpp441 TextureStage textureStage[8]; member in sw::Context
DPixelProcessor.hpp91 TextureStage::State textureStage[8]; member
DRenderer.hpp177 TextureStage::Uniforms textureStage[8]; member
DRenderer.cpp443 …if(pixelState.textureStage[stage].stageOperation != TextureStage::STAGE_DISABLE || context->pixelS… in draw()
445 data->textureStage[stage] = context->textureStage[stage].uniforms; in draw()
/external/swiftshader/src/Shader/
DPixelPipeline.cpp43 if(state.textureStage[stage].stageOperation == TextureStage::STAGE_DISABLE) in fixedFunction()
50 if(state.textureStage[stage].usesTexture) in fixedFunction()
390 const TextureStage::State &textureStage = state.textureStage[stage]; in blendTexture() local
392 if(textureStage.firstArgument == TextureStage::SOURCE_CONSTANT || in blendTexture()
393 textureStage.firstArgumentAlpha == TextureStage::SOURCE_CONSTANT || in blendTexture()
394 textureStage.secondArgument == TextureStage::SOURCE_CONSTANT || in blendTexture()
395 textureStage.secondArgumentAlpha == TextureStage::SOURCE_CONSTANT || in blendTexture()
396 textureStage.thirdArgument == TextureStage::SOURCE_CONSTANT || in blendTexture()
397 textureStage.thirdArgumentAlpha == TextureStage::SOURCE_CONSTANT) in blendTexture()
399 constant.x = *Pointer<Short4>(data + OFFSET(DrawData, textureStage[stage].constantColor4[0])); in blendTexture()
[all …]