/external/deqp/modules/glshared/ |
H A D | 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 [all...] |
H A D | 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;
|
H A D | 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 [all...] |
H A D | 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); 95 rsg::ProgramParameters m_parameters; 99 rsg::Shader m_vertexShader; 100 rsg::Shader m_fragmentShader; 101 std::vector<rsg::VariableValue> m_uniforms;
|
H A D | glsRandomShaderCase.cpp | 74 VertexArray::VertexArray (const rsg::ShaderInput* input, int numVertices) 114 RandomShaderCase::RandomShaderCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, const rsg::ProgramParameters& params) 120 , m_vertexShader (rsg::Shader::TYPE_VERTEX) 121 , m_fragmentShader (rsg::Shader::TYPE_FRAGMENT) 136 rsg::ProgramGenerator programGenerator; 140 std::vector<const rsg::ShaderInput*> unifiedUniforms; 142 rsg::computeUnifiedUniforms(m_vertexShader, m_fragmentShader, unifiedUniforms); 143 rsg::computeUniformValues(rnd, m_uniforms, unifiedUniforms); 146 const vector<rsg::ShaderInput*>& inputs = m_vertexShader.getInputs(); 149 for (vector<rsg [all...] |
H A D | 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 [all...] |
/external/deqp/framework/randomshaders/ |
H A D | 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 [all...] |
H A D | rsgDefs.hpp | 33 namespace rsg namespace 42 } // rsg
|
H A D | rsgNameAllocator.hpp | 30 namespace rsg namespace 47 } // rsg
|
H A D | rsgProgramGenerator.hpp | 30 namespace rsg namespace 46 } // rsg
|
H A D | rsgExpressionGenerator.hpp | 33 namespace rsg namespace 51 } // rsg
|
H A D | rsgFunctionGenerator.hpp | 32 namespace rsg namespace 51 } // rsg
|
H A D | rsgPrettyPrinter.hpp | 32 namespace rsg namespace 53 } // rsg
|
H A D | rsgShaderGenerator.hpp | 33 namespace rsg namespace 52 } // rsg
|
H A D | rsgGeneratorState.cpp | 28 namespace rsg namespace 54 } // rsg
|
H A D | rsgNameAllocator.cpp | 26 namespace rsg namespace 60 } // rsg
|
H A D | rsgExecutionContext.hpp | 34 namespace rsg namespace 89 } // rsg
|
H A D | rsgExpressionGenerator.cpp | 26 namespace rsg namespace 88 } // rsg
|
H A D | rsgParameters.hpp | 32 namespace rsg namespace 111 } // rsg
|
H A D | rsgProgramExecutor.hpp | 39 namespace rsg namespace 75 } // rsg
|
H A D | rsgVariable.hpp | 32 namespace rsg namespace 77 } // rsg
|
/external/deqp/modules/gles3/functional/ |
H A D | 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 [all...] |
H A D | es3fFragOpInteractionTests.cpp | 53 rsg::ProgramParameters params; 57 params.version = rsg::VERSION_300;
|
/external/deqp/modules/gles2/functional/ |
H A D | 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 [all...] |
H A D | es2fFragOpInteractionTests.cpp | 53 rsg::ProgramParameters params; 57 params.version = rsg::VERSION_100;
|