HomeSort by relevance Sort by last modified time
    Searched refs:Uniform (Results 26 - 50 of 71) sorted by null

12 3

  /external/regex-re2/re2/testing/
regexp_generator.cc 141 if (nstk == 1 && acm_->Uniform(maxatoms_ + 1 - atoms) == 0) {
153 if (ops < maxops_ && acm_->Uniform(2) == 0) {
154 const string& fmt = ops_[acm_->Uniform(ops_.size())];
167 if (atoms < maxatoms_ && acm_->Uniform(2) == 0) {
168 post->push_back(atoms_[acm_->Uniform(atoms_.size())]);
  /external/chromium_org/third_party/angle/src/libGLESv2/
Shader.h 87 const std::vector<sh::Uniform> &getUniforms() const;
93 std::vector<sh::Uniform> &getUniforms();
Shader.cpp 160 const std::vector<sh::Uniform> &Shader::getUniforms() const
185 std::vector<sh::Uniform> &Shader::getUniforms()
ProgramBinary.h 16 #include "libGLESv2/Uniform.h"
62 // Struct used for correlating uniforms/elements of uniform arrays to handles
221 static bool linkValidateUniforms(InfoLog &infoLog, const std::string &uniformName, const sh::Uniform &vertexUniform, const sh::Uniform &fragmentUniform);
225 void defineUniformBase(GLenum shader, const sh::Uniform &uniform, unsigned int uniformRegister);
226 void defineUniform(GLenum shader, const sh::ShaderVariable &uniform, const std::string &fullName, sh::HLSLBlockEncoder *encoder);
227 bool indexSamplerUniform(const LinkedUniform &uniform, InfoLog &infoLog, const Caps &caps);
ProgramBinary.cpp 924 // Retrieve sampler uniform values
    [all...]
  /external/deqp/modules/gles3/functional/
es3fFboTestUtil.cpp 82 << sglr::pdec::Uniform("u_color", glu::TYPE_FLOAT_VEC4)
93 "uniform highp vec4 u_color;\n"
157 << sglr::pdec::Uniform("u_gradientMin", glu::TYPE_FLOAT_VEC4)
158 << sglr::pdec::Uniform("u_gradientMax", glu::TYPE_FLOAT_VEC4)
173 "uniform highp vec4 u_gradientMin;\n"
174 "uniform highp vec4 u_gradientMax;\n"
246 src << "uniform " << precision << " " << glu::getDataTypeName(samplerTypes[samplerNdx]) << " u_sampler" << samplerNdx << ";\n";
247 src << "uniform " << precision << " vec4 u_texScale" << samplerNdx << ";\n";
248 src << "uniform " << precision << " vec4 u_texBias" << samplerNdx << ";\n";
252 src << "uniform " << precision << " vec4 u_outScale0;\n
    [all...]
es3fDepthTests.cpp 67 << sglr::pdec::Uniform("u_color", glu::TYPE_FLOAT_VEC4)
75 "uniform highp vec4 u_color;\n"
  /external/deqp/framework/opengl/simplereference/
sglrShaderProgram.hpp 96 struct Uniform
98 Uniform (const std::string& name_, glu::DataType type_) : name(name_), type(type_) { }
154 ShaderProgramDeclaration& operator<< (const Uniform&);
176 std::vector<Uniform> m_uniforms;
253 friend class ReferenceContext; // for uniform access
sglrShaderProgram.cpp 69 ShaderProgramDeclaration& pdec::ShaderProgramDeclaration::operator<< (const Uniform& v)
211 DE_ASSERT(!"Invalid uniform name, uniform not found.");
  /external/chromium_org/third_party/angle/src/compiler/translator/
Compiler.h 73 const std::vector<sh::Uniform> &getUniforms() const { return uniforms; }
141 std::vector<sh::Uniform> uniforms;
UniformHLSL.cpp 83 const Uniform *UniformHLSL::findUniformByName(const TString &name) const
101 const Uniform *uniform = findUniformByName(name); local
102 ASSERT(uniform);
104 mUniformRegisterMap[uniform->name] = registerIndex;
106 unsigned int registerCount = HLSLVariableRegisterCount(*uniform, mOutputType);
108 if (gl::IsSampler(uniform->type))
127 const TIntermSymbol &uniform = *uniformIt->second; local
128 const TType &type = uniform.getType();
129 const TString &name = uniform.getSymbol()
    [all...]
ShaderLang.cpp 110 const std::vector<sh::Uniform> *GetVariableList(const TCompiler *compiler, ShaderVariableType)
493 const std::vector<sh::Uniform> *ShGetUniforms(const ShHandle handle)
495 return GetShaderVariables<sh::Uniform>(handle, SHADERVAR_UNIFORM);
VariableInfo.cpp 131 std::vector<sh::Uniform> *uniforms,
147 // We want to check whether a uniform/varying is statically used
195 // It's an internal error to reference an undefined user uniform
435 template void ExpandVariables(const std::vector<Uniform> &, std::vector<ShaderVariable> *);
VariablePacker.cpp 268 template bool VariablePacker::CheckVariablesWithinPackingLimits(unsigned int, const std::vector<sh::Uniform> &);
util.cpp 319 template void GetVariableTraverser::traverse(const TType &, const TString &, std::vector<Uniform> *);
  /external/deqp/modules/gles31/functional/
es31fUniformBlockTests.cpp 21 * \brief Uniform block tests.
66 block.addUniform(Uniform("var", type, 0));
104 block.addUniform(Uniform("u", VarType(glu::TYPE_INT, PRECISION_MEDIUM)));
105 block.addUniform(Uniform("s", VarType(VarType(VarType(&typeS), 3), 2)));
106 block.addUniform(Uniform("v", VarType(glu::TYPE_FLOAT_VEC2, PRECISION_MEDIUM)));
124 : TestCaseGroup(context, "ubo", "Uniform Block tests")
260 tcu::TestCaseGroup* structArrayArrayGroup = new tcu::TestCaseGroup(m_testCtx, "2_level_struct_array", "Struct array in one uniform block");
301 tcu::TestCaseGroup* randomGroup = new tcu::TestCaseGroup(m_testCtx, "random", "Random Uniform Block cases");
es31fFboTestUtil.cpp 89 src << "uniform " << precision << " " << glu::getDataTypeName(samplerTypes[samplerNdx]) << " u_sampler" << samplerNdx << ";\n";
90 src << "uniform " << precision << " vec4 u_texScale" << samplerNdx << ";\n";
91 src << "uniform " << precision << " vec4 u_texBias" << samplerNdx << ";\n";
95 src << "uniform " << precision << " vec4 u_outScale0;\n"
96 << "uniform " << precision << " vec4 u_outBias0;\n";
137 decl << sglr::pdec::Uniform("u_outScale0", glu::TYPE_FLOAT_VEC4);
138 decl << sglr::pdec::Uniform("u_outBias0", glu::TYPE_FLOAT_VEC4);
142 decl << sglr::pdec::Uniform(std::string("u_sampler") + de::toString(ndx), samplerTypes.vec[ndx]);
143 decl << sglr::pdec::Uniform(std::string("u_texScale") + de::toString(ndx), glu::TYPE_FLOAT_VEC4);
144 decl << sglr::pdec::Uniform(std::string("u_texBias") + de::toString(ndx), glu::TYPE_FLOAT_VEC4)
    [all...]
es31fProgramUniformTests.cpp 23 * \todo [2013-02-26 nuutti] Much duplication between ES2&3 uniform api
306 struct Uniform
311 Uniform (const char* const name_, const glu::VarType& type_) : name(name_), type(type_) {}
320 Uniform& getUniform (const int ndx) { return m_uniforms[ndx]; }
321 const Uniform& getUniform (const int ndx) const { return m_uniforms[ndx]; }
323 void addUniform (const Uniform& uniform) { m_uniforms.push_back(uniform); }
379 res->m_uniforms.push_back(Uniform((string("u_var") + nameSuffix).c_str(), glu::VarType(type, prec)));
387 res->m_uniforms.push_back(Uniform((string("u_var") + nameSuffix).c_str(), glu::VarType(glu::VarType(type, prec), 3)))
1280 const BasicUniform& uniform = basicUniforms[unifNdx]; local
1361 const BasicUniform& uniform = basicUniforms[unifNdx]; local
1560 const BasicUniform& uniform = basicUniforms[unifNdx]; local
    [all...]
  /external/chromium_org/third_party/tcmalloc/chromium/src/tests/
tcmalloc_unittest.cc 232 int Uniform(int n) {
268 int v = Uniform(total_weight_);
295 memalign_fraction_ = (Uniform(10000)/10000.0 * delta +
304 if (Uniform(100) < memalign_fraction_ * 100) {
307 size_t alignment = 1 << Uniform(FLAGS_lg_max_memalign);
433 const int index = rnd_.Uniform(heap_.size());
442 const int index = rnd_.Uniform(heap_.size());
470 const int index = rnd_.Uniform(heap_.size());
475 const int tid = rnd_.Uniform(FLAGS_numthreads);
557 for (size_t i = 0; i < 70000; i += rnd->Uniform(20))
    [all...]
  /external/chromium_org/third_party/tcmalloc/vendor/src/tests/
tcmalloc_unittest.cc 232 int Uniform(int n) {
268 int v = Uniform(total_weight_);
295 memalign_fraction_ = (Uniform(10000)/10000.0 * delta +
304 if (Uniform(100) < memalign_fraction_ * 100) {
307 size_t alignment = 1 << Uniform(FLAGS_lg_max_memalign);
433 const int index = rnd_.Uniform(heap_.size());
442 const int index = rnd_.Uniform(heap_.size());
470 const int index = rnd_.Uniform(heap_.size());
475 const int tid = rnd_.Uniform(FLAGS_numthreads);
557 for (size_t i = 0; i < 70000; i += rnd->Uniform(20))
    [all...]
  /external/chromium_org/third_party/angle/include/GLSLANG/
ShaderLang.h 150 // restrictions for uniform variables in both vertex and fragment
158 // that you cannot read off the end of a uniform, whether an array
363 // SH_ACTIVE_UNIFORMS: the number of active uniform variables.
364 // SH_ACTIVE_UNIFORM_MAX_LENGTH: the length of the longest active uniform
452 // the uniform variable, It is assumed that hashedName has enough
467 COMPILER_EXPORT const std::vector<sh::Uniform> *ShGetUniforms(const ShHandle handle);
506 // Returns true if it found a valid default uniform, false otherwise.
509 // interfaceBlockName: Specifies the uniform
  /external/chromium_org/third_party/angle/src/common/
blocklayout.cpp 242 unsigned int HLSLVariableRegisterCount(const Uniform &variable, ShShaderOutput outputType)
  /external/chromium_org/third_party/leveldatabase/src/db/
db_iter.cc 108 return rnd_.Uniform(2*config::kReadBytesPeriod);
  /external/ceres-solver/internal/ceres/
compressed_row_sparse_matrix_test.cc 426 Uniform(options.max_row_block_size - options.min_row_block_size);
433 Uniform(options.max_col_block_size - options.min_col_block_size);
  /external/deqp/modules/gles2/functional/
es2fDepthTests.cpp 67 << sglr::pdec::Uniform("u_color", glu::TYPE_FLOAT_VEC4)
73 << sglr::pdec::FragmentSource("uniform mediump vec4 u_color;\n"

Completed in 943 milliseconds

12 3