OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:samplerTypes
(Results
1 - 12
of
12
) sorted by null
/external/deqp/modules/gles31/functional/
es31fShaderStateQueryTests.cpp
99
std::vector<TestTypeInfo>
samplerTypes
= getInfos();
106
for (int typeNdx = 0; typeNdx < (int)
samplerTypes
.size(); ++typeNdx)
109
std::string(glu::getShaderVarTypeStr(
samplerTypes
[typeNdx].glType).toString()),
110
"Uniform type " + glu::getShaderVarTypeStr(
samplerTypes
[typeNdx].glType).toString());
113
shaderArgs["DECLARATIONSTR"] =
samplerTypes
[typeNdx].declarationStr;
114
shaderArgs["ACCESSSTR"] =
samplerTypes
[typeNdx].accessStr;
123
m_testCtx.getLog() << tcu::TestLog::Message << "Building program with uniform sampler of type " << glu::getShaderVarTypeStr(
samplerTypes
[typeNdx].glType) << tcu::TestLog::EndMessage;
147
if (type != (glw::GLint)
samplerTypes
[typeNdx].glType)
150
buf << "Invalid type, expected " <<
samplerTypes
[typeNdx].glType << ", got " << type;
183
static const TestTypeInfo
samplerTypes
[]
[
all
...]
es31fShaderTextureSizeTests.cpp
499
}
samplerTypes
[] =
511
for (int samplerTypeNdx = 0; samplerTypeNdx < DE_LENGTH_OF_ARRAY(
samplerTypes
); ++samplerTypeNdx)
515
const std::string name = std::string() + "samples_" + de::toString(sampleCounts[sampleCountNdx]) + "_" +
samplerTypes
[samplerTypeNdx].name;
516
const std::string desc = std::string() + "samples count = " + de::toString(sampleCounts[sampleCountNdx]) + ", type = " +
samplerTypes
[samplerTypeNdx].name;
518
addChild(new TextureSizeCase(m_context, name.c_str(), desc.c_str(),
samplerTypes
[samplerTypeNdx].type, sampleCounts[sampleCountNdx]));
es31fFboTestUtil.cpp
77
static string genTexFragmentShader (const vector<glu::DataType>&
samplerTypes
, glu::DataType outputType)
87
for (int samplerNdx = 0; samplerNdx < (int)
samplerTypes
.size(); samplerNdx++)
89
src << "uniform " << precision << " " << glu::getDataTypeName(
samplerTypes
[samplerNdx]) << " u_sampler" << samplerNdx << ";\n";
104
for (int inNdx = 0; inNdx < (int)
samplerTypes
.size(); inNdx++)
116
static sglr::pdec::ShaderProgramDeclaration genTexture2DShaderDecl (const DataTypes&
samplerTypes
, glu::DataType outputType)
135
decl << sglr::pdec::FragmentSource(genTexFragmentShader(
samplerTypes
.vec, outputType));
140
for (size_t ndx = 0; ndx <
samplerTypes
.vec.size(); ++ndx)
142
decl << sglr::pdec::Uniform(std::string("u_sampler") + de::toString(ndx),
samplerTypes
.vec[ndx]);
150
Texture2DShader::Texture2DShader (const DataTypes&
samplerTypes
, glu::DataType outputType, const Vec4& outScale, const Vec4& outBias)
151
: sglr::ShaderProgram (genTexture2DShaderDecl(
samplerTypes
, outputType)
[
all
...]
es31fFboTestUtil.hpp
58
Texture2DShader (const DataTypes&
samplerTypes
, glu::DataType outputType, const tcu::Vec4& outScale = tcu::Vec4(1.0f), const tcu::Vec4& outBias = tcu::Vec4(0.0f));
es31fProgramUniformTests.cpp
356
vector<glu::DataType>
samplerTypes
;
358
getDistinctSamplerTypes(
samplerTypes
, m_uniforms[i].type);
359
return
samplerTypes
;
[
all
...]
es31fOpaqueTypeIndexingTests.cpp
[
all
...]
/external/deqp/modules/gles3/functional/
es3fTextureUnitTests.cpp
198
static string generateMultiTexFragmentShader (int numUnits, const vector<GLenum>& unitTypes, const vector<glu::DataType>&
samplerTypes
)
218
samplersStr += string("") + "uniform highp " + glu::getDataTypeName(
samplerTypes
[ndx]) + " " + samplerName + ";\n";
249
static sglr::pdec::ShaderProgramDeclaration generateShaderProgramDeclaration (int numUnits, const vector<GLenum>& unitTypes, const vector<glu::DataType>&
samplerTypes
)
265
decl << sglr::pdec::Uniform(samplerName,
samplerTypes
[ndx]);
281
decl << sglr::pdec::FragmentSource(generateMultiTexFragmentShader(numUnits, unitTypes,
samplerTypes
));
337
const vector<glu::DataType>&
samplerTypes
,
360
const vector<glu::DataType>&
samplerTypes
,
364
: sglr::ShaderProgram (generateShaderProgramDeclaration(numUnits, unitTypes,
samplerTypes
))
936
vector<glu::DataType>
samplerTypes
;
942
samplerTypes
.reserve(m_numUnits)
[
all
...]
es3fFboTestUtil.cpp
234
static string genTexFragmentShader (const vector<glu::DataType>&
samplerTypes
, glu::DataType outputType)
244
for (int samplerNdx = 0; samplerNdx < (int)
samplerTypes
.size(); samplerNdx++)
246
src << "uniform " << precision << " " << glu::getDataTypeName(
samplerTypes
[samplerNdx]) << " u_sampler" << samplerNdx << ";\n";
261
for (int inNdx = 0; inNdx < (int)
samplerTypes
.size(); inNdx++)
273
static sglr::pdec::ShaderProgramDeclaration genTexture2DShaderDecl (const DataTypes&
samplerTypes
, glu::DataType outputType)
292
decl << sglr::pdec::FragmentSource(genTexFragmentShader(
samplerTypes
.vec, outputType));
297
for (size_t ndx = 0; ndx <
samplerTypes
.vec.size(); ++ndx)
299
decl << sglr::pdec::Uniform(std::string("u_sampler") + de::toString(ndx),
samplerTypes
.vec[ndx]);
307
Texture2DShader::Texture2DShader (const DataTypes&
samplerTypes
, glu::DataType outputType, const Vec4& outScale, const Vec4& outBias)
308
: sglr::ShaderProgram (genTexture2DShaderDecl(
samplerTypes
, outputType)
[
all
...]
es3fFboTestUtil.hpp
88
Texture2DShader (const DataTypes&
samplerTypes
, glu::DataType outputType, const tcu::Vec4& outScale = tcu::Vec4(1.0f), const tcu::Vec4& outBias = tcu::Vec4(0.0f));
es3fUniformApiTests.cpp
376
vector<glu::DataType>
samplerTypes
;
378
getDistinctSamplerTypes(
samplerTypes
, m_uniforms[i].type);
379
return
samplerTypes
;
[
all
...]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
vktOpaqueTypeIndexingTests.cpp
[
all
...]
/external/deqp/modules/gles2/functional/
es2fUniformApiTests.cpp
310
vector<glu::DataType>
samplerTypes
;
312
getDistinctSamplerTypes(
samplerTypes
, m_uniforms[i].type);
313
return
samplerTypes
;
[
all
...]
Completed in 756 milliseconds