Home
last modified time | relevance | path

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

/NW4C-2.0.3/sources/libraries/gfx/res/
Dgfx_ResShader.cpp140 ResBinaryShader resBinaryShader = ResDynamicCast<ResBinaryShader>(resShader); in ResBinaryShader_Setup() local
142 NW_ASSERT(resBinaryShader.GetShaderObjectsCount() != 0); in ResBinaryShader_Setup()
144 u32 shaderObjects = resBinaryShader.GetShaderObjects(0); in ResBinaryShader_Setup()
152 resBinaryShader.ref().m_CommandAllocator = allocator; in ResBinaryShader_Setup()
154 for (int i = 0; i < resBinaryShader.GetShaderKindsCount(); i++) in ResBinaryShader_Setup()
157 GLuint shader = glCreateShader(resBinaryShader.GetShaderKinds(i)); in ResBinaryShader_Setup()
161 resBinaryShader.SetShaderObjects(i, shader); in ResBinaryShader_Setup()
166resBinaryShader.ref().m_ShaderBinaryInfo = new(binaryAnalyzerBuffer) ShaderBinaryInfo( resBinarySh… in ResBinaryShader_Setup()
168 ShaderBinaryInfo* shaderInfo = resBinaryShader.GetShaderBinaryInfo(); in ResBinaryShader_Setup()
179 resBinaryShader.ref().m_CommandCache = buffer; in ResBinaryShader_Setup()
[all …]
Dgfx_ResMaterial.cpp393 ResBinaryShader resBinaryShader = resShader.Dereference(); in SetupShader() local
394 …NW_MINMAXLT_ASSERT(this->GetShaderProgramDescriptionIndex(), 0, resBinaryShader.GetDescriptionsCou… in SetupShader()
397 resBinaryShader.GetDescriptions(this->GetShaderProgramDescriptionIndex()); in SetupShader()
591 ResBinaryShader resBinaryShader = shader.Dereference(); in ForceSetupShader() local
592 …NW_MINMAXLT_ASSERT(this->GetShaderProgramDescriptionIndex(), 0, resBinaryShader.GetDescriptionsCou… in ForceSetupShader()
595 resBinaryShader.GetDescriptions(this->GetShaderProgramDescriptionIndex()); in ForceSetupShader()