Home
last modified time | relevance | path

Searched refs:shaderStageKey (Results 1 – 21 of 21) sorted by relevance

/dports/misc/usd/USD-21.11/pxr/imaging/hdSt/
H A DmaterialNetworkShader.cpp77 TfToken const &shaderStageKey, std::string const &source) in _SetSource() argument
79 if (shaderStageKey == HdShaderTokens->fragmentShader) { in _SetSource()
82 } else if (shaderStageKey == HdShaderTokens->geometryShader) { in _SetSource()
94 HdSt_MaterialNetworkShader::GetSource(TfToken const &shaderStageKey) const in GetSource()
96 if (shaderStageKey == HdShaderTokens->fragmentShader) { in GetSource()
98 } else if (shaderStageKey == HdShaderTokens->geometryShader) { in GetSource()
H A DfallbackLightingShader.cpp65 HdSt_FallbackLightingShader::GetSource(TfToken const &shaderStageKey) const in GetSource()
70 return _glslfx->GetSource(shaderStageKey); in GetSource()
H A DextCompComputeShader.cpp55 HdSt_ExtCompComputeShader::GetSource(TfToken const &shaderStageKey) const in GetSource()
57 if (shaderStageKey == HdShaderTokens->computeShader) { in GetSource()
H A DmaterialNetworkShader.h75 std::string GetSource(TfToken const &shaderStageKey) const override;
155 void _SetSource(TfToken const &shaderStageKey, std::string const &source);
H A DsimpleLightingShader.cpp100 HdStSimpleLightingShader::GetSource(TfToken const &shaderStageKey) const in GetSource()
105 const std::string source = _glslfx->GetSource(shaderStageKey); in GetSource()
127 _lightingContext->ComputeShaderSource(shaderStageKey); in GetSource()
H A DrenderPassShader.cpp177 HdStRenderPassShader::GetSource(TfToken const &shaderStageKey) const in GetSource()
182 return _glslfx->GetSource(shaderStageKey); in GetSource()
H A DfallbackLightingShader.h55 std::string GetSource(TfToken const &shaderStageKey) const override;
H A DgeometricShader.cpp109 HdSt_GeometricShader::GetSource(TfToken const &shaderStageKey) const in GetSource()
111 return _glslfx->GetSource(shaderStageKey); in GetSource()
H A DextCompComputeShader.h68 std::string GetSource(TfToken const &shaderStageKey) const override;
H A DsimpleLightingShader.h62 std::string GetSource(TfToken const &shaderStageKey) const override;
H A DrenderPassShader.h64 std::string GetSource(TfToken const &shaderStageKey) const override;
H A DunitTestHelper.cpp335 HdSt_TestLightingShader::GetSource(TfToken const &shaderStageKey) const in GetSource()
340 std::string source = _glslfx->GetSource(shaderStageKey); in GetSource()
H A DunitTestHelper.h133 std::string GetSource(TfToken const &shaderStageKey) const override;
H A DshaderCode.h112 virtual std::string GetSource(TfToken const &shaderStageKey) const = 0;
H A DgeometricShader.h153 std::string GetSource(TfToken const &shaderStageKey) const override;
/dports/misc/usd/USD-21.11/pxr/imaging/hio/
H A DglslfxConfig.cpp239 HioGlslfxConfig::GetSourceKeys(TfToken const & shaderStageKey) const in GetSourceKeys()
242 TfMapLookup(_sourceKeyMap, shaderStageKey, &ret); in GetSourceKeys()
304 const string& shaderStageKey = p.first; in _GetSourceKeyMap() local
312 shaderStageKey.c_str()); in _GetSourceKeyMap()
324 shaderStageKey.c_str()); in _GetSourceKeyMap()
332 shaderStageKey.c_str(), in _GetSourceKeyMap()
344 shaderStageKey.c_str(), in _GetSourceKeyMap()
349 ret[shaderStageKey].push_back(val.UncheckedGet<string>()); in _GetSourceKeyMap()
H A Dglslfx.cpp653 HioGlslfx::_GetSource(const TfToken &shaderStageKey) const in _GetSource()
660 vector<string> sourceKeys = _config->GetSourceKeys(shaderStageKey); in _GetSource()
671 shaderStageKey.GetText(), in _GetSource()
701 HioGlslfx::GetSource(const TfToken &shaderStageKey) const in GetSource()
703 return _GetSource(shaderStageKey); in GetSource()
H A Dglslfx.h206 std::string GetSource(const TfToken &shaderStageKey) const;
257 std::string _GetSource(const TfToken &shaderStageKey) const;
H A DglslfxConfig.h140 SourceKeys GetSourceKeys(TfToken const & shaderStageKey) const;
/dports/misc/usd/USD-21.11/pxr/imaging/glf/
H A DsimpleLightingContext.h136 std::string const & ComputeShaderSource(TfToken const &shaderStageKey);
H A DsimpleLightingContext.cpp825 GlfSimpleLightingContext::ComputeShaderSource(TfToken const &shaderStageKey) in ComputeShaderSource() argument
832 shaderStageKey==HioGlslfxTokens->fragmentShader) { in ComputeShaderSource()