Home
last modified time | relevance | path

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

/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 …]
/external/swiftshader/src/Renderer/
DPixelProcessor.cpp180 context->textureStage[stage].setTexCoordIndex(texCoordIndex); in setTexCoordIndex()
189 context->textureStage[stage].setStageOperation(stageOperation); in setStageOperation()
198 context->textureStage[stage].setFirstArgument(firstArgument); in setFirstArgument()
207 context->textureStage[stage].setSecondArgument(secondArgument); in setSecondArgument()
216 context->textureStage[stage].setThirdArgument(thirdArgument); in setThirdArgument()
225 context->textureStage[stage].setStageOperationAlpha(stageOperationAlpha); in setStageOperationAlpha()
234 context->textureStage[stage].setFirstArgumentAlpha(firstArgumentAlpha); in setFirstArgumentAlpha()
243 context->textureStage[stage].setSecondArgumentAlpha(secondArgumentAlpha); in setSecondArgumentAlpha()
252 context->textureStage[stage].setThirdArgumentAlpha(thirdArgumentAlpha); in setThirdArgumentAlpha()
261 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.hpp93 TextureStage::State textureStage[8]; member
DRenderer.hpp176 TextureStage::Uniforms textureStage[8]; member
DRenderer.cpp444 …if(pixelState.textureStage[stage].stageOperation != TextureStage::STAGE_DISABLE || context->pixelS… in draw()
446 data->textureStage[stage] = context->textureStage[stage].uniforms; in draw()