/external/deqp/modules/glshared/ |
D | glsRandomShaderProgram.cpp | 34 static rr::GenericVecType mapToGenericVecType (const rsg::VariableType& varType) in mapToGenericVecType() 47 static glu::DataType mapToBasicType (const rsg::VariableType& varType) in mapToBasicType() 59 else if (varType.getBaseType() == rsg::VariableType::TYPE_SAMPLER_2D) in mapToBasicType() 61 else if (varType.getBaseType() == rsg::VariableType::TYPE_SAMPLER_CUBE) in mapToBasicType() 70 …gramDeclaration& decl, const rsg::Shader& vertexShader, const rsg::Shader& fragmentShader, int num… in generateProgramDeclaration() 75 …for (vector<rsg::ShaderInput*>::const_iterator vtxInIter = vertexShader.getInputs().begin(); vtxIn… in generateProgramDeclaration() 77 const rsg::ShaderInput* vertexInput = *vtxInIter; in generateProgramDeclaration() 81 …for (vector<rsg::ShaderInput*>::const_iterator fragInIter = fragmentShader.getInputs().begin(); fr… in generateProgramDeclaration() 83 const rsg::ShaderInput* fragInput = *fragInIter; in generateProgramDeclaration() 89 const rsg::ShaderInput* uniform = unifiedUniforms[uniformNdx]; in generateProgramDeclaration() [all …]
|
D | glsRandomShaderProgram.hpp | 30 namespace rsg namespace 44 …RandomShaderProgram (const rsg::Shader& vertexShader, const rsg::Shader& fragmentShader, int num… 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 a… 59 const rsg::Variable* m_fragColorVar; 61 rsg::Sampler2DMap m_sampler2DMap; 62 rsg::SamplerCubeMap m_samplerCubeMap; [all …]
|
D | glsRandomShaderCase.cpp | 78 VertexArray::VertexArray (const rsg::ShaderInput* input, int numVertices) in VertexArray() 118 …RenderContext& renderCtx, const char* name, const char* description, const rsg::ProgramParameters&… in RandomShaderCase() 124 , m_vertexShader (rsg::Shader::TYPE_VERTEX) in RandomShaderCase() 125 , m_fragmentShader (rsg::Shader::TYPE_FRAGMENT) in RandomShaderCase() 140 rsg::ProgramGenerator programGenerator; in init() 148 std::vector<const rsg::ShaderInput*> unifiedUniforms; in init() 150 rsg::computeUnifiedUniforms(m_vertexShader, m_fragmentShader, unifiedUniforms); in init() 151 rsg::computeUniformValues(rnd, m_uniforms, unifiedUniforms); in init() 154 const vector<rsg::ShaderInput*>& inputs = m_vertexShader.getInputs(); in init() 157 for (vector<rsg::ShaderInput*>::const_iterator i = inputs.begin(); i != inputs.end(); i++) in init() [all …]
|
D | glsRandomShaderCase.hpp | 47 VertexArray (const rsg::ShaderInput* input, int numVertices); 54 rsg::ConstValueRangeAccess getValueRange (void) const { return m_input->getValueRange(); } in getValueRange() 57 const rsg::ShaderInput* m_input; 81 …RenderContext& renderCtx, const char* name, const char* description, const rsg::ProgramParameters&… 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; 105 std::vector<rsg::VariableValue> m_uniforms;
|
D | glsFragOpInteractionCase.cpp | 79 static void computeVertexLayout (const vector<rsg::ShaderInput*>& attributes, int numVertices, vect… in computeVertexLayout() 85 …for (vector<rsg::ShaderInput*>::const_iterator iter = attributes.begin(); iter != attributes.end()… in computeVertexLayout() 87 const rsg::ShaderInput* attrib = *iter; in computeVertexLayout() 88 const rsg::Variable* var = attrib->getVariable(); in computeVertexLayout() 89 const rsg::VariableType& type = var->getType(); in computeVertexLayout() 92 …TCU_CHECK_INTERNAL(type.getBaseType() == rsg::VariableType::TYPE_FLOAT && de::inRange(type.getNumE… in computeVertexLayout() 108 VertexDataStorage (const vector<rsg::ShaderInput*>& attributes, int numVertices); 124 VertexDataStorage::VertexDataStorage (const vector<rsg::ShaderInput*>& attributes, int numVertices) in VertexDataStorage() 157 static tcu::Vector<float, Size> interpolateRange (const rsg::ConstValueRangeAccess& range, const tc… in interpolateRange() 328 void setUniformValue (sglr::Context& ctx, int location, rsg::ConstValueAccess value) in setUniformValue() [all …]
|
D | glsFragOpInteractionCase.hpp | 52 …ntext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const rsg::ProgramParameters&… 68 rsg::ProgramParameters m_params; 70 rsg::Shader m_vertexShader; 71 rsg::Shader m_fragmentShader; 72 std::vector<const rsg::ShaderInput*> m_unifiedUniforms;
|
/external/deqp/framework/randomshaders/ |
D | rsgTest.cpp | 44 rsg::ProgramParameters programParams; in runTest() 50 rsg::Shader vertexShader(rsg::Shader::TYPE_VERTEX); in runTest() 51 rsg::Shader fragmentShader(rsg::Shader::TYPE_FRAGMENT); in runTest() 53 rsg::ProgramGenerator generator; in runTest() 60 std::vector<const rsg::ShaderInput*> uniforms; in runTest() 61 std::vector<rsg::VariableValue> uniformValues; in runTest() 63 rsg::computeUnifiedUniforms(vertexShader, fragmentShader, uniforms); in runTest() 64 rsg::computeUniformValues(rnd, uniformValues, uniforms); in runTest() 68 rsg::ProgramExecutor executor(surface.getAccess(), 3, 5); in runTest()
|
D | rsgNameAllocator.hpp | 30 namespace rsg namespace
|
D | rsgDefs.hpp | 33 namespace rsg namespace
|
D | rsgProgramGenerator.hpp | 30 namespace rsg namespace
|
D | rsgExpressionGenerator.hpp | 33 namespace rsg namespace
|
D | rsgFunctionGenerator.hpp | 32 namespace rsg namespace
|
D | rsgPrettyPrinter.hpp | 32 namespace rsg namespace
|
D | rsgShaderGenerator.hpp | 33 namespace rsg namespace
|
D | rsgGeneratorState.cpp | 28 namespace rsg namespace
|
D | rsgNameAllocator.cpp | 26 namespace rsg namespace
|
D | rsgVariable.hpp | 32 namespace rsg namespace
|
D | rsgParameters.hpp | 32 namespace rsg namespace
|
D | rsgProgramExecutor.hpp | 39 namespace rsg namespace
|
D | rsgExecutionContext.hpp | 34 namespace rsg namespace
|
D | rsgExpressionGenerator.cpp | 26 namespace rsg namespace
|
/external/deqp/modules/gles3/functional/ |
D | es3fRandomShaderTests.cpp | 39 gls::RandomShaderCase* createRandomShaderCase (Context& context, const char* description, const rsg… in createRandomShaderCase() 41 rsg::ProgramParameters params = baseParams; in createRandomShaderCase() 43 params.version = rsg::VERSION_300; in createRandomShaderCase() 61 rsg::ProgramParameters params; in init() 91 rsg::ProgramParameters params; in init() 122 rsg::ProgramParameters params; in init() 150 rsg::ProgramParameters params; in init() 178 rsg::ProgramParameters params; in init() 216 rsg::ProgramParameters params; in init() 245 rsg::ProgramParameters params; in init() [all …]
|
D | es3fFragOpInteractionTests.cpp | 53 rsg::ProgramParameters params; in init() 57 params.version = rsg::VERSION_300; in init()
|
/external/deqp/modules/gles2/functional/ |
D | es2fRandomShaderTests.cpp | 38 gls::RandomShaderCase* createRandomShaderCase (Context& context, const char* description, const rsg… in createRandomShaderCase() 40 rsg::ProgramParameters params = baseParams; in createRandomShaderCase() 59 rsg::ProgramParameters params; in init() 89 rsg::ProgramParameters params; in init() 120 rsg::ProgramParameters params; in init() 148 rsg::ProgramParameters params; in init() 176 rsg::ProgramParameters params; in init() 214 rsg::ProgramParameters params; in init() 243 rsg::ProgramParameters params; in init() 272 rsg::ProgramParameters params; in init() [all …]
|
D | es2fFragOpInteractionTests.cpp | 53 rsg::ProgramParameters params; in init() 57 params.version = rsg::VERSION_100; in init()
|