/external/deqp/modules/glshared/ |
glsRandomShaderProgram.hpp | 23 * \brief sglr-rsg adaptation. 30 namespace rsg namespace 44 RandomShaderProgram (const rsg::Shader& vertexShader, const rsg::Shader& fragmentShader, int numUnifiedUniforms, const rsg::ShaderInput* const* unifiedUniforms); 52 const rsg::Shader& m_vertexShader; 53 const rsg::Shader& m_fragmentShader; 55 const rsg::ShaderInput* const* m_unifiedUniforms; 57 const rsg::Variable* m_positionVar; 58 std::vector<const rsg::Variable*> m_vertexOutputs; //!< Other vertex outputs in the order they are passed to fragment (…) [all...] |
glsRandomShaderCase.hpp | 47 VertexArray (const rsg::ShaderInput* input, int numVertices); 54 rsg::ConstValueRangeAccess getValueRange (void) const { return m_input->getValueRange(); } 57 const rsg::ShaderInput* m_input; 81 RandomShaderCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, const rsg::ProgramParameters& params); 89 void checkShaderLimits (const rsg::Shader& shader) const; 90 void checkProgramLimits (const rsg::Shader& vtxShader, const rsg::Shader& frgShader) const; 99 rsg::ProgramParameters m_parameters; 103 rsg::Shader m_vertexShader; 104 rsg::Shader m_fragmentShader [all...] |
glsFragOpInteractionCase.hpp | 52 FragOpInteractionCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const rsg::ProgramParameters& params); 68 rsg::ProgramParameters m_params; 70 rsg::Shader m_vertexShader; 71 rsg::Shader m_fragmentShader; 72 std::vector<const rsg::ShaderInput*> m_unifiedUniforms;
|
glsRandomShaderProgram.cpp | 21 * \brief sglr-rsg adaptation. 34 static rr::GenericVecType mapToGenericVecType (const rsg::VariableType& varType) 47 static glu::DataType mapToBasicType (const rsg::VariableType& varType) 59 else if (varType.getBaseType() == rsg::VariableType::TYPE_SAMPLER_2D) 61 else if (varType.getBaseType() == rsg::VariableType::TYPE_SAMPLER_CUBE) 70 static void generateProgramDeclaration (sglr::pdec::ShaderProgramDeclaration& decl, const rsg::Shader& vertexShader, const rsg::Shader& fragmentShader, int numUnifiedUniforms, const rsg::ShaderInput* const* unifiedUniforms) 75 for (vector<rsg::ShaderInput*>::const_iterator vtxInIter = vertexShader.getInputs().begin(); vtxInIter != vertexShader.getInputs().end(); ++vtxInIter) 77 const rsg::ShaderInput* vertexInput = *vtxInIter [all...] |
glsRandomShaderCase.cpp | 78 VertexArray::VertexArray (const rsg::ShaderInput* input, int numVertices) 118 RandomShaderCase::RandomShaderCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, const rsg::ProgramParameters& params) 124 , m_vertexShader (rsg::Shader::TYPE_VERTEX) 125 , m_fragmentShader (rsg::Shader::TYPE_FRAGMENT) 140 rsg::ProgramGenerator programGenerator; 148 std::vector<const rsg::ShaderInput*> unifiedUniforms; 150 rsg::computeUnifiedUniforms(m_vertexShader, m_fragmentShader, unifiedUniforms); 151 rsg::computeUniformValues(rnd, m_uniforms, unifiedUniforms); 154 const vector<rsg::ShaderInput*>& inputs = m_vertexShader.getInputs(); 157 for (vector<rsg::ShaderInput*>::const_iterator i = inputs.begin(); i != inputs.end(); i++ [all...] |
glsFragOpInteractionCase.cpp | 79 static void computeVertexLayout (const vector<rsg::ShaderInput*>& attributes, int numVertices, vector<glu::VertexArrayBinding>* layout, int* stride) 85 for (vector<rsg::ShaderInput*>::const_iterator iter = attributes.begin(); iter != attributes.end(); ++iter) 87 const rsg::ShaderInput* attrib = *iter; 88 const rsg::Variable* var = attrib->getVariable(); 89 const rsg::VariableType& type = var->getType(); 92 TCU_CHECK_INTERNAL(type.getBaseType() == rsg::VariableType::TYPE_FLOAT && de::inRange(type.getNumElements(), 1, 4)); 108 VertexDataStorage (const vector<rsg::ShaderInput*>& attributes, int numVertices); 124 VertexDataStorage::VertexDataStorage (const vector<rsg::ShaderInput*>& attributes, int numVertices) 157 static tcu::Vector<float, Size> interpolateRange (const rsg::ConstValueRangeAccess& range, const tcu::Vector<float, Size>& t) 328 void setUniformValue (sglr::Context& ctx, int location, rsg::ConstValueAccess value [all...] |
/external/deqp/framework/randomshaders/ |
rsgTest.cpp | 44 rsg::ProgramParameters programParams; 50 rsg::Shader vertexShader(rsg::Shader::TYPE_VERTEX); 51 rsg::Shader fragmentShader(rsg::Shader::TYPE_FRAGMENT); 53 rsg::ProgramGenerator generator; 60 std::vector<const rsg::ShaderInput*> uniforms; 61 std::vector<rsg::VariableValue> uniformValues; 63 rsg::computeUnifiedUniforms(vertexShader, fragmentShader, uniforms); 64 rsg::computeUniformValues(rnd, uniformValues, uniforms) [all...] |
rsgDefs.hpp | 33 namespace rsg namespace 42 } // rsg
|
rsgNameAllocator.hpp | 30 namespace rsg namespace 47 } // rsg
|
rsgProgramGenerator.hpp | 30 namespace rsg namespace 46 } // rsg
|
rsgExpressionGenerator.hpp | 33 namespace rsg namespace 51 } // rsg
|
rsgFunctionGenerator.hpp | 32 namespace rsg namespace 51 } // rsg
|
rsgPrettyPrinter.hpp | 32 namespace rsg namespace 53 } // rsg
|
rsgShaderGenerator.hpp | 33 namespace rsg namespace 52 } // rsg
|
rsgGeneratorState.cpp | 28 namespace rsg namespace 54 } // rsg
|
rsgNameAllocator.cpp | 26 namespace rsg namespace 60 } // rsg
|
rsgExecutionContext.hpp | 34 namespace rsg namespace 89 } // rsg
|
rsgExpressionGenerator.cpp | 26 namespace rsg namespace 88 } // rsg
|
rsgParameters.hpp | 32 namespace rsg namespace 111 } // rsg
|
rsgProgramExecutor.hpp | 39 namespace rsg namespace 75 } // rsg
|
rsgVariable.hpp | 32 namespace rsg namespace 77 } // rsg
|
/external/deqp/modules/gles3/functional/ |
es3fRandomShaderTests.cpp | 39 gls::RandomShaderCase* createRandomShaderCase (Context& context, const char* description, const rsg::ProgramParameters& baseParams, deUint32 seed, bool vertex, bool fragment) 41 rsg::ProgramParameters params = baseParams; 43 params.version = rsg::VERSION_300; 61 rsg::ProgramParameters params; 91 rsg::ProgramParameters params; 122 rsg::ProgramParameters params; 150 rsg::ProgramParameters params; 178 rsg::ProgramParameters params; 216 rsg::ProgramParameters params; 245 rsg::ProgramParameters params [all...] |
es3fFragOpInteractionTests.cpp | 53 rsg::ProgramParameters params; 57 params.version = rsg::VERSION_300;
|
/external/deqp/modules/gles2/functional/ |
es2fRandomShaderTests.cpp | 38 gls::RandomShaderCase* createRandomShaderCase (Context& context, const char* description, const rsg::ProgramParameters& baseParams, deUint32 seed, bool vertex, bool fragment) 40 rsg::ProgramParameters params = baseParams; 59 rsg::ProgramParameters params; 89 rsg::ProgramParameters params; 120 rsg::ProgramParameters params; 148 rsg::ProgramParameters params; 176 rsg::ProgramParameters params; 214 rsg::ProgramParameters params; 243 rsg::ProgramParameters params; 272 rsg::ProgramParameters params [all...] |
es2fFragOpInteractionTests.cpp | 53 rsg::ProgramParameters params; 57 params.version = rsg::VERSION_100;
|