Home
last modified time | relevance | path

Searched refs:pixelShader (Results 1 – 24 of 24) sorted by relevance

/external/swiftshader/src/Renderer/
DSetupProcessor.cpp74 …bool vPosZW = (context->pixelShader && context->pixelShader->isVPosDeclared() && fullPixelPosition… in update()
87 state.vFace = context->pixelShader && context->pixelShader->isVFaceDeclared(); in update()
123 if(context->vertexShader && context->pixelShader) in update()
130 …const Shader::Semantic& semantic = context->pixelShader->getInput(interpolant, component - project… in update()
158 else if(context->preTransformed && context->pixelShader) in update()
164 const Shader::Semantic& semantic = context->pixelShader->getInput(interpolant, component); in update()
DContext.cpp303 pixelShader = 0; in init()
598 if(pixelShader) in texCoordActive()
600 usesTexture = pixelShader->usesTexture(coordinate, component) || project; in texCoordActive()
1215 if(pixelShader) in diffuseUsed()
1217 return pixelShader->usesDiffuse(component); in diffuseUsed()
1297 if(pixelShader) in specularUsed()
1299 return pixelShader->usesSpecular(component); in specularUsed()
1402 if(!pixelShader) in textureActive()
1433 return pixelShader->usesTexture(coordinate, component); in textureActive()
1441 return pixelShader ? pixelShader->getShaderModel() : 0x0000; in pixelShaderModel()
[all …]
DPixelProcessor.cpp969 if(context->pixelShader) in update()
971 state.shaderID = context->pixelShader->getSerialID(); in update()
978 state.depthOverride = context->pixelShader && context->pixelShader->depthOverride(); in update()
979 state.shaderContainsKill = context->pixelShader ? context->pixelShader->containsKill() : false; in update()
1049 if(state.multiSample > 1 && context->pixelShader) in update()
1051 state.centroid = context->pixelShader->containsCentroid(); in update()
1056 if(!context->pixelShader) in update()
1068 if(context->pixelShader) in update()
1070 if(context->pixelShader->usesSampler(i)) in update()
1155 const Shader::Semantic &semantic = context->pixelShader->getInput(interpolant, component); in update()
[all …]
DQuadRasterizer.cpp31 …nst PixelProcessor::State &state, const PixelShader *pixelShader) : state(state), shader(pixelShad… in QuadRasterizer() argument
DRenderer.cpp409 if(context->pixelShader) in draw()
444 …xelState.textureStage[stage].stageOperation != TextureStage::STAGE_DISABLE || context->pixelShader) in draw()
2246 void Renderer::loadConstants(const PixelShader *pixelShader) in loadConstants() argument
2248 if(!pixelShader) return; in loadConstants()
2250 size_t count = pixelShader->getLength(); in loadConstants()
2254 const Shader::Instruction *instruction = pixelShader->getInstruction(i); in loadConstants()
2650 context->pixelShader = shader; in setPixelShader()
DContext.hpp485 const PixelShader *pixelShader; member in sw::Context
DRenderer.hpp393 void loadConstants(const PixelShader *pixelShader);
/external/swiftshader/src/OpenGL/libGLESv2/
DShader.cpp447 pixelShader = 0; in FragmentShader()
452 delete pixelShader; in ~FragmentShader()
462 return pixelShader; in getShader()
467 return pixelShader; in getPixelShader()
472 delete pixelShader; in createShader()
473 pixelShader = new sw::PixelShader(); in createShader()
478 delete pixelShader; in deleteShader()
479 pixelShader = nullptr; in deleteShader()
DDevice.cpp127 pixelShader = nullptr; in Device()
274 void Device::setPixelShader(const PixelShader *pixelShader) in setPixelShader() argument
276 this->pixelShader = pixelShader; in setPixelShader()
739 if(pixelShader) in bindShaderConstants()
746 Renderer::setPixelShader(pixelShader); // Loads shader constants set with DEF in bindShaderConstants()
747 … pixelShaderConstantsFDirty = pixelShader->dirtyConstantsF; // Shader DEF'ed constants are dirty in bindShaderConstants()
DShader.h133 sw::PixelShader *pixelShader; variable
DDevice.hpp97 const sw::PixelShader *pixelShader; member in es2::Device
DContext.cpp3123 sw::PixelShader *pixelShader = programObject->getPixelShader(); in applyShaders() local
3126 device->setPixelShader(pixelShader); in applyShaders()
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DPixelTransfer11.cpp172 const d3d11::PixelShader *pixelShader = findBufferToTexturePS(destinationFormat); in copyBufferToTexture() local
173 ASSERT(pixelShader); in copyBufferToTexture()
204 stateManager->setDrawShaders(&mBufferToTextureVS, geometryShader, pixelShader); in copyBufferToTexture()
DBlit11.cpp895 &shader->pixelShader); in swizzleTexture()
1023 &shader->pixelShader); in copyTexture()
1349 shader.pixelShader = std::move(ps); in addBlitShaderToMap()
1369 shader.pixelShader = std::move(ps); in addSwizzleShaderToMap()
1887 const d3d11::PixelShader *pixelShader = nullptr; in resolveStencil() local
1891 pixelShader = &mResolveDepthStencilPS.getObj(); in resolveStencil()
1896 pixelShader = &mResolveStencilPS.getObj(); in resolveStencil()
1902 stateManager->setDrawShaders(&mResolveDepthStencilVS.getObj(), nullptr, pixelShader); in resolveStencil()
DBlit11.h152 d3d11::PixelShader pixelShader; member
DStateManager11.cpp2391 const d3d11::PixelShader *pixelShader) in setDrawShaders() argument
2395 setPixelShader(pixelShader); in setDrawShaders()
2928 const d3d11::PixelShader *pixelShader = nullptr; in syncProgram() local
2931 pixelShader = (pixelExe ? &GetAs<ShaderExecutable11>(pixelExe)->getPixelShader() : nullptr); in syncProgram()
2946 setDrawShaders(vertexShader, geometryShader, pixelShader); in syncProgram()
DStateManager11.h256 const d3d11::PixelShader *pixelShader);
DRenderer11.cpp3023 d3d11::PixelShader pixelShader; in loadExecutable() local
3024 ANGLE_TRY(allocateResource(context, shaderData, &pixelShader)); in loadExecutable()
3025 *outExecutable = new ShaderExecutable11(function, length, std::move(pixelShader)); in loadExecutable()
/external/swiftshader/src/Device/
DPixelProcessor.cpp157 const SpirvShader *pixelShader, in routine() argument
164 QuadRasterizer *generator = new PixelProgram(state, pipelineLayout, pixelShader, descriptorSets); in routine()
DPixelProcessor.hpp158 … const SpirvShader *pixelShader, const vk::DescriptorSet::Bindings &descriptorSets);
/external/skia/src/gpu/d3d/
DGrD3DPipelineStateBuilder.cpp502 gr_cp<ID3DBlob> vertexShader, gr_cp<ID3DBlob> geometryShader, gr_cp<ID3DBlob> pixelShader, in create_pipeline_state() argument
511 psoDesc.PS = { reinterpret_cast<UINT8*>(pixelShader->GetBufferPointer()), in create_pipeline_state()
512 pixelShader->GetBufferSize() }; in create_pipeline_state()
/external/swiftshader/src/OpenGL/compiler/
DOutputASM.cpp505 pixelShader = nullptr; in OutputASM()
511 pixelShader = shaderObject->getPixelShader(); in OutputASM()
2491 pixelShader ? "pixel shader" : "vertex shader"); in source()
2512 pixelShader ? "pixel shader" : "vertex shader"); in destination()
2964 case EvqFragCoord: pixelShader->declareVPos(); return sw::Shader::VPosIndex; in registerIndex()
2965 case EvqFrontFacing: pixelShader->declareVFace(); return sw::Shader::VFaceIndex; in registerIndex()
3111 pixelShader ? "pixel shader" : "vertex shader"); in temporaryRegister()
3133pixelShader->setInput(var + i, type.registerSize(), sw::Shader::Semantic(sw::Shader::USAGE_COLOR, … in setPixelShaderInputs()
3151 if(pixelShader) in varyingRegister()
3162pixelShader->setInput(var, varying->registerSize(), sw::Shader::Semantic(sw::Shader::USAGE_TEXCOOR… in varyingRegister()
[all …]
DOutputASM.h342 sw::PixelShader *pixelShader; variable
/external/angle/src/libANGLE/renderer/d3d/d3d9/
DRenderer9.cpp1766 IDirect3DPixelShader9 *pixelShader = in applyShaders() local
1775 if (pixelShader != mAppliedPixelShader) in applyShaders()
1777 mDevice->SetPixelShader(pixelShader); in applyShaders()
1778 mAppliedPixelShader = pixelShader; in applyShaders()