Home
last modified time | relevance | path

Searched refs:rsg (Results 1 – 25 of 55) sorted by relevance

123

/external/deqp/modules/glshared/
DglsRandomShaderProgram.cpp34 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 …]
DglsRandomShaderProgram.hpp30 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 …]
DglsRandomShaderCase.cpp78 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 …]
DglsRandomShaderCase.hpp47 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;
DglsFragOpInteractionCase.cpp79 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 …]
DglsFragOpInteractionCase.hpp52 …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/
DrsgTest.cpp44 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()
DrsgNameAllocator.hpp30 namespace rsg namespace
DrsgDefs.hpp33 namespace rsg namespace
DrsgProgramGenerator.hpp30 namespace rsg namespace
DrsgExpressionGenerator.hpp33 namespace rsg namespace
DrsgFunctionGenerator.hpp32 namespace rsg namespace
DrsgPrettyPrinter.hpp32 namespace rsg namespace
DrsgShaderGenerator.hpp33 namespace rsg namespace
DrsgGeneratorState.cpp28 namespace rsg namespace
DrsgNameAllocator.cpp26 namespace rsg namespace
DrsgVariable.hpp32 namespace rsg namespace
DrsgParameters.hpp32 namespace rsg namespace
DrsgProgramExecutor.hpp39 namespace rsg namespace
DrsgExpressionGenerator.cpp26 namespace rsg namespace
DrsgExecutionContext.hpp34 namespace rsg namespace
/external/deqp/modules/gles3/functional/
Des3fRandomShaderTests.cpp39 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 …]
Des3fFragOpInteractionTests.cpp53 rsg::ProgramParameters params; in init()
57 params.version = rsg::VERSION_300; in init()
/external/deqp/modules/gles2/functional/
Des2fRandomShaderTests.cpp38 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 …]
Des2fFragOpInteractionTests.cpp53 rsg::ProgramParameters params; in init()
57 params.version = rsg::VERSION_100; in init()

123