Home
last modified time | relevance | path

Searched refs:resBinaryShader (Results 1 – 2 of 2) sorted by relevance

/NW4C-1.2.23/sources/libraries/gfx/res/
Dgfx_ResShader.cpp131 ResBinaryShader resBinaryShader = ResDynamicCast<ResBinaryShader>(resShader); in ResBinaryShader_Setup() local
133 NW_ASSERT(resBinaryShader.GetShaderObjectsCount() != 0); in ResBinaryShader_Setup()
135 u32 shaderObjects = resBinaryShader.GetShaderObjects(0); in ResBinaryShader_Setup()
142 for (int i = 0; i < resBinaryShader.GetShaderKindsCount(); i++) in ResBinaryShader_Setup()
144 GLuint shader = glCreateShader(resBinaryShader.GetShaderKinds(i)); in ResBinaryShader_Setup()
145 resBinaryShader.SetShaderObjects(i, shader); in ResBinaryShader_Setup()
150resBinaryShader.ref().m_ShaderBinaryInfo = new(binaryAnalyzerBuffer) ShaderBinaryInfo( resBinarySh… in ResBinaryShader_Setup()
152 ShaderBinaryInfo* shaderInfo = resBinaryShader.GetShaderBinaryInfo(); in ResBinaryShader_Setup()
165 resBinaryShader.ref().m_CommandCache = builder.AllocAndCopy(); in ResBinaryShader_Setup()
166 resBinaryShader.ref().m_CommandCacheSize = builder.GetSize(); in ResBinaryShader_Setup()
[all …]
Dgfx_ResMaterial.cpp49 ResBinaryShader resBinaryShader = resShader.Dereference(); in Setup() local
50 …NW_MINMAXLT_ASSERT(this->GetShaderProgramDescriptionIndex(), 0, resBinaryShader.GetDescriptionsCou… in Setup()
53 resBinaryShader.GetDescriptions(this->GetShaderProgramDescriptionIndex()); in Setup()