Home
last modified time | relevance | path

Searched refs:rsg (Results 1 - 25 of 53) sorted by relevance

123

/third_party/vk-gl-cts/modules/glshared/
H A DglsRandomShaderProgram.cpp21 * \brief sglr-rsg adaptation.
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 static void generateProgramDeclaration (sglr::pdec::ShaderProgramDeclaration& decl, const rsg::Shader& vertexShader, const rsg::Shader& fragmentShader, int numUnifiedUniforms, const rsg::ShaderInput* const* unifiedUniforms) in generateProgramDeclaration()
75 for (vector<rsg::ShaderInput*>::const_iterator vtxInIter = vertexShader.getInputs().begin(); vtxInIter != vertexShader.getInputs().end(); ++vtxInIter) in generateProgramDeclaration()
77 const rsg in generateProgramDeclaration()
[all...]
H A DglsRandomShaderProgram.hpp23 * \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 DglsRandomShaderCase.cpp78 VertexArray::VertexArray (const rsg::ShaderInput* input, int numVertices) in VertexArray()
118 RandomShaderCase::RandomShaderCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, const rsg::ProgramParameters& params) 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 in init()
[all...]
H A 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 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
[all...]
H A DglsFragOpInteractionCase.cpp79 static void computeVertexLayout (const vector<rsg::ShaderInput*>& attributes, int numVertices, vector<glu::VertexArrayBinding>* layout, int* stride) in computeVertexLayout()
85 for (vector<rsg::ShaderInput*>::const_iterator iter = attributes.begin(); iter != attributes.end(); ++iter) 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.getNumElements(), 1, 4)); 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 tcu::Vector<float, Size>& t) in interpolateRange()
328 void setUniformValue (sglr::Context& ctx, int location, rsg
[all...]
H A DglsFragOpInteractionCase.hpp52 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;
/third_party/vk-gl-cts/framework/randomshaders/
H A 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 in runTest()
[all...]
H A DrsgDefs.hpp33 namespace rsg namespace
42 } // rsg
H A DrsgNameAllocator.hpp30 namespace rsg namespace
47 } // rsg
H A DrsgProgramGenerator.hpp30 namespace rsg namespace
46 } // rsg
H A DrsgExpressionGenerator.hpp33 namespace rsg namespace
51 } // rsg
H A DrsgFunctionGenerator.hpp32 namespace rsg namespace
51 } // rsg
H A DrsgPrettyPrinter.hpp32 namespace rsg namespace
53 } // rsg
H A DrsgShaderGenerator.hpp33 namespace rsg namespace
52 } // rsg
H A DrsgGeneratorState.cpp28 namespace rsg namespace
54 } // rsg
H A DrsgNameAllocator.cpp26 namespace rsg namespace
60 } // rsg
H A DrsgVariable.hpp32 namespace rsg namespace
77 } // rsg
H A DrsgExecutionContext.hpp34 namespace rsg namespace
86 } // rsg
H A DrsgExpressionGenerator.cpp26 namespace rsg namespace
88 } // rsg
H A DrsgParameters.hpp32 namespace rsg namespace
111 } // rsg
H A DrsgProgramExecutor.hpp39 namespace rsg namespace
75 } // rsg
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fRandomShaderTests.cpp39 gls::RandomShaderCase* createRandomShaderCase (Context& context, const char* description, const rsg::ProgramParameters& baseParams, deUint32 seed, bool vertex, bool fragment) 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 in init()
[all...]
H A Des3fFragOpInteractionTests.cpp53 rsg::ProgramParameters params; in init()
57 params.version = rsg::VERSION_300; in init()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fRandomShaderTests.cpp38 gls::RandomShaderCase* createRandomShaderCase (Context& context, const char* description, const rsg::ProgramParameters& baseParams, deUint32 seed, bool vertex, bool fragment) 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 in init()
[all...]
H A Des2fFragOpInteractionTests.cpp53 rsg::ProgramParameters params; in init()
57 params.version = rsg::VERSION_100; in init()

Completed in 7 milliseconds

123