Home
last modified time | relevance | path

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

/external/swiftshader/src/Renderer/
DPixelProcessor.cpp181 context->textureStage[stage].setTexCoordIndex(texCoordIndex); in setTexCoordIndex()
190 context->textureStage[stage].setStageOperation(stageOperation); in setStageOperation()
199 context->textureStage[stage].setFirstArgument(firstArgument); in setFirstArgument()
208 context->textureStage[stage].setSecondArgument(secondArgument); in setSecondArgument()
217 context->textureStage[stage].setThirdArgument(thirdArgument); in setThirdArgument()
226 context->textureStage[stage].setStageOperationAlpha(stageOperationAlpha); in setStageOperationAlpha()
235 context->textureStage[stage].setFirstArgumentAlpha(firstArgumentAlpha); in setFirstArgumentAlpha()
244 context->textureStage[stage].setSecondArgumentAlpha(secondArgumentAlpha); in setSecondArgumentAlpha()
253 context->textureStage[stage].setThirdArgumentAlpha(thirdArgumentAlpha); in setThirdArgumentAlpha()
262 context->textureStage[stage].setFirstModifier(firstModifier); in setFirstModifier()
[all …]
DContext.cpp203 textureStage[i].init(i, &sampler[i], (i >= 1) ? &textureStage[i - 1] : 0); in init()
571 …hasTexture = hasTexture || (component < input[TexCoord0 + textureStage[coordinate].texCoordIndex].… in texCoordActive()
599 usesTexture = textureStage[coordinate].usesTexture() || project; in texCoordActive()
1175 return textureStage[stage].texCoordIndex; in texCoordIndexActive()
1218 if(textureStage[i].isStageDisabled()) in diffuseUsed()
1223 if(textureStage[i].usesDiffuse()) in diffuseUsed()
1232 …if(textureStage[i].usesCurrent() || textureStage[i].isStageDisabled()) // Current color contains… in diffuseUsed()
1237 if(textureStage[i].writesCurrent()) in diffuseUsed()
1301 if(textureStage[i].isStageDisabled()) break; in specularUsed()
1303 pixelSpecular = pixelSpecular || textureStage[i].usesSpecular(); in specularUsed()
[all …]
DContext.hpp436 TextureStage textureStage[8]; member in sw::Context
DPixelProcessor.hpp89 TextureStage::State textureStage[8]; member
DRenderer.hpp170 TextureStage::Uniforms textureStage[8]; member
DRenderer.cpp408 …if(pixelState.textureStage[stage].stageOperation != TextureStage::STAGE_DISABLE || context->pixelS… in draw()
410 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()
389 const TextureStage::State &textureStage = state.textureStage[stage]; in blendTexture() local
391 if(textureStage.firstArgument == TextureStage::SOURCE_CONSTANT || in blendTexture()
392 textureStage.firstArgumentAlpha == TextureStage::SOURCE_CONSTANT || in blendTexture()
393 textureStage.secondArgument == TextureStage::SOURCE_CONSTANT || in blendTexture()
394 textureStage.secondArgumentAlpha == TextureStage::SOURCE_CONSTANT || in blendTexture()
395 textureStage.thirdArgument == TextureStage::SOURCE_CONSTANT || in blendTexture()
396 textureStage.thirdArgumentAlpha == TextureStage::SOURCE_CONSTANT) in blendTexture()
398 constant.x = *Pointer<Short4>(data + OFFSET(DrawData, textureStage[stage].constantColor4[0])); in blendTexture()
[all …]