Home | History | Annotate | Download | only in glshared

Lines Matching full:spec

769 		const VarSpec&	spec			= uniforms[unifNdx];
770 const int typeScalarSize = glu::getDataTypeScalarSize(spec.type);
771 const int location = glGetUniformLocation(m_programGL, mangleShaderNames(spec.name, shaderNameManglingSuffix).c_str());
775 if (glu::isDataTypeFloatOrVec(spec.type))
779 val[i] = rnd.getFloat(spec.minValue.f[i], spec.maxValue.f[i]);
781 switch (spec.type)
790 else if (glu::isDataTypeMatrix(spec.type))
794 val[i] = rnd.getFloat(spec.minValue.f[i], spec.maxValue.f[i]);
796 switch (spec.type)
810 else if (glu::isDataTypeIntOrIVec(spec.type))
814 val[i] = rnd.getInt(spec.minValue.i[i], spec.maxValue.i[i]);
816 switch (spec.type)
825 else if (glu::isDataTypeUintOrUVec(spec.type))
830 DE_ASSERT(spec.minValue.i[i] >= 0 && spec.maxValue.i[i] >= 0);
831 val[i] = (deUint32)rnd.getInt(spec.minValue.i[i], spec.maxValue.i[i]);
834 switch (spec.type)
1129 // Generate dummy texture data for each texture spec in m_programContexts.
1142 const TextureSpec& spec = progCtx.textureSpecs[texSpecNdx];
1143 const TextureFormat format = glu::mapGLTransferFormat(spec.format, spec.dataType);
1166 if (dummyTex->getWidth() < spec.width || dummyTex->getHeight() < spec.height)
1168 dummyTex->setSize(spec.width, spec.height);
1169 tcu::fillWithComponentGradients(dummyTex->getAccess(), spec.minValue, spec.maxValue);
1305 const TextureSpec& spec = programContext.textureSpecs[texNdx];
1308 m_textures->make(texName, spec.textureType);
1314 spec.width, spec.height, spec.internalFormat, spec.useMipmap), m_rnd);
1317 texture.setData(programResources.dummyTextures[texNdx]->getAccess(), spec.width, spec.height, spec.internalFormat, spec.useMipmap);
1319 texture.setSubData(programResources.dummyTextures[texNdx]->getAccess(), 0, 0, spec.width, spec.height);
1322 texture.setWrap(spec.sWrap, spec.tWrap);
1323 texture.setFilter(spec.minFilter, spec.magFilter);