Home
last modified time | relevance | path

Searched refs:constCoords (Results 1 – 25 of 26) sorted by relevance

12

/external/deqp/external/openglcts/modules/common/
DglcShaderStructTests.cpp49 …d (*SetupUniformsFunc)(const glw::Functions& gl, deUint32 programID, const tcu::Vec4& constCoords);
62 virtual void setupUniforms(deUint32 programID, const tcu::Vec4& constCoords);
119 void ShaderStructCase::setupUniforms(deUint32 programID, const tcu::Vec4& constCoords) in setupUniforms() argument
121 ShaderRenderCase::setupUniforms(programID, constCoords); in setupUniforms()
123 m_setupUniforms(m_renderCtx.getFunctions(), programID, constCoords); in setupUniforms()
1039 const tcu::Vec4& constCoords) SET_UNIFORMS_BODY \ in init()
1068 setUniform(gl, programID, "s.a", constCoords.x()); in init()
1069 setUniform(gl, programID, "s.b", constCoords.swizzle(1, 2, 3)); in init()
1072 { c.color.xyz() = c.constCoords.swizzle(0, 1, 2); }); in init()
1096 setUniform(gl, programID, "s.a", constCoords.x()); in init()
[all …]
DglcShaderIndexingTests.cpp122 c.color.x() = 1.875f * c.constCoords.x(); in evalArrayUniformFloat()
126 c.color.xy() = 1.875f * c.constCoords.swizzle(0, 1); in evalArrayUniformVec2()
130 c.color.xyz() = 1.875f * c.constCoords.swizzle(0, 1, 2); in evalArrayUniformVec3()
134 c.color = 1.875f * c.constCoords; in evalArrayUniformVec4()
166 virtual void setupUniforms(deUint32 programID, const Vec4& constCoords);
191 void ShaderIndexingCase::setupUniforms(deUint32 programID, const Vec4& constCoords) in setupUniforms() argument
195 DE_UNREF(constCoords); in setupUniforms()
204 arr[0] = constCoords.x(); in setupUniforms()
205 arr[1] = constCoords.x() * 0.5f; in setupUniforms()
206 arr[2] = constCoords.x() * 0.25f; in setupUniforms()
[all …]
DglcShaderRenderCase.hpp189 tcu::Vec4 constCoords; member in deqp::ShaderEvalContext
271 virtual void setupUniforms(deUint32 programID, const tcu::Vec4& constCoords);
DglcShaderRenderCase.cpp141 QuadGrid(int gridSize, int screenWidth, int screenHeight, const Vec4& constCoords,
221 QuadGrid::QuadGrid(int gridSize, int width, int height, const Vec4& constCoords, in QuadGrid() argument
226 , m_constCoords(constCoords) in QuadGrid()
309 : constCoords(quadGrid_.getConstCoords()), isDiscarded(false), quadGrid(quadGrid_) in ShaderEvalContext()
513 void ShaderRenderCase::setupUniforms(deUint32 programID, const Vec4& constCoords) in setupUniforms() argument
516 DE_UNREF(constCoords); in setupUniforms()
DglcShaderLoopTests.cpp190 virtual void setupUniforms(deUint32 programID, const Vec4& constCoords);
211 void ShaderLoopCase::setupUniforms(deUint32 programID, const Vec4& constCoords) in setupUniforms() argument
214 DE_UNREF(constCoords); in setupUniforms()
/external/deqp/modules/gles3/functional/
Des3fShaderStructTests.cpp54 … (*SetupUniformsFunc) (const glw::Functions& gl, deUint32 programID, const tcu::Vec4& constCoords);
65 virtual void setupUniforms (int programID, const tcu::Vec4& constCoords);
111 void ShaderStructCase::setupUniforms (int programID, const tcu::Vec4& constCoords) in setupUniforms() argument
113 ShaderRenderCase::setupUniforms(programID, constCoords); in setupUniforms()
115 m_setupUniforms(m_renderCtx.getFunctions(), programID, constCoords); in setupUniforms()
1342 …iforms (const glw::Functions& gl, deUint32 programID, const tcu::Vec4& constCoords) SET_UNIFORMS_B… in init()
1367 setUniform(gl, programID, "s.a", constCoords.x()); in init()
1368 setUniform(gl, programID, "s.b", constCoords.swizzle(1, 2, 3)); in init()
1372 c.color.xyz() = c.constCoords.swizzle(0,1,2); in init()
1398 setUniform(gl, programID, "s.a", constCoords.x()); in init()
[all …]
Des3fShaderIndexingTests.cpp118 void evalArrayUniformFloat (ShaderEvalContext& c) { c.color.x() = 1.875f * c.constCoords.x(); } in evalArrayUniformFloat()
119 void evalArrayUniformVec2 (ShaderEvalContext& c) { c.color.xy() = 1.875f * c.constCoords.swizzle(0… in evalArrayUniformVec2()
120 void evalArrayUniformVec3 (ShaderEvalContext& c) { c.color.xyz() = 1.875f * c.constCoords.swizzle(… in evalArrayUniformVec3()
121 void evalArrayUniformVec4 (ShaderEvalContext& c) { c.color = 1.875f * c.constCoords; } in evalArrayUniformVec4()
147 virtual void setupUniforms (int programID, const Vec4& constCoords);
169 void ShaderIndexingCase::setupUniforms (int programID, const Vec4& constCoords) in setupUniforms() argument
173 DE_UNREF(constCoords); in setupUniforms()
182 arr[0] = constCoords.x(); in setupUniforms()
183 arr[1] = constCoords.x() * 0.5f; in setupUniforms()
184 arr[2] = constCoords.x() * 0.25f; in setupUniforms()
[all …]
Des3fShaderLoopTests.cpp217 virtual void setupUniforms (int programID, const Vec4& constCoords);
236 void ShaderLoopCase::setupUniforms (int programID, const Vec4& constCoords) in setupUniforms() argument
239 DE_UNREF(constCoords); in setupUniforms()
Des3fShaderDiscardTests.cpp61 void setupUniforms (int programID, const tcu::Vec4& constCoords);
Des3fShaderMatrixTests.cpp1379 void setupUniforms (int programID, const tcu::Vec4& constCoords);
1729 void ShaderMatrixCase::setupUniforms (int programID, const tcu::Vec4& constCoords) in setupUniforms() argument
1733 DE_UNREF(constCoords); in setupUniforms()
/external/deqp/modules/gles2/functional/
Des2fShaderStructTests.cpp62 … (*SetupUniformsFunc) (const glw::Functions& gl, deUint32 programID, const tcu::Vec4& constCoords);
73 virtual void setupUniforms (int programID, const tcu::Vec4& constCoords);
149 void ShaderStructCase::setupUniforms (int programID, const tcu::Vec4& constCoords) in setupUniforms() argument
151 ShaderRenderCase::setupUniforms(programID, constCoords); in setupUniforms()
153 m_setupUniforms(m_renderCtx.getFunctions(), programID, constCoords); in setupUniforms()
1338 …iforms (const glw::Functions& gl, deUint32 programID, const tcu::Vec4& constCoords) SET_UNIFORMS_B… in init()
1363 setUniform(gl, programID, "s.a", constCoords.x()); in init()
1364 setUniform(gl, programID, "s.b", constCoords.swizzle(1, 2, 3)); in init()
1368 c.color.xyz() = c.constCoords.swizzle(0,1,2); in init()
1394 setUniform(gl, programID, "s.a", constCoords.x()); in init()
[all …]
Des2fShaderIndexingTests.cpp124 void evalArrayUniformFloat (ShaderEvalContext& c) { c.color.x() = 1.875f * c.constCoords.x(); } in evalArrayUniformFloat()
125 void evalArrayUniformVec2 (ShaderEvalContext& c) { c.color.xy() = 1.875f * c.constCoords.swizzle(0… in evalArrayUniformVec2()
126 void evalArrayUniformVec3 (ShaderEvalContext& c) { c.color.xyz() = 1.875f * c.constCoords.swizzle(… in evalArrayUniformVec3()
127 void evalArrayUniformVec4 (ShaderEvalContext& c) { c.color = 1.875f * c.constCoords; } in evalArrayUniformVec4()
155 virtual void setupUniforms (int programID, const Vec4& constCoords);
198 void ShaderIndexingCase::setupUniforms (int programID, const Vec4& constCoords) in setupUniforms() argument
202 DE_UNREF(constCoords); in setupUniforms()
211 arr[0] = constCoords.x(); in setupUniforms()
212 arr[1] = constCoords.x() * 0.5f; in setupUniforms()
213 arr[2] = constCoords.x() * 0.25f; in setupUniforms()
[all …]
Des2fShaderLoopTests.cpp222 virtual void setupUniforms (int programID, const Vec4& constCoords);
268 void ShaderLoopCase::setupUniforms (int programID, const Vec4& constCoords) in setupUniforms() argument
271 DE_UNREF(constCoords); in setupUniforms()
Des2fShaderDiscardTests.cpp67 void setupUniforms (int programID, const tcu::Vec4& constCoords);
Des2fShaderMatrixTests.cpp749 void setupUniforms (int programID, const tcu::Vec4& constCoords);
1045 void ShaderMatrixCase::setupUniforms (int programID, const tcu::Vec4& constCoords) in setupUniforms() argument
1049 DE_UNREF(constCoords); in setupUniforms()
Des2fShaderTextureFunctionTests.cpp230 void setupUniforms (int programID, const tcu::Vec4& constCoords);
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderStructTests.cpp1249 …static void setUniforms (ShaderRenderCaseInstance& instance, const tcu::Vec4& constCoords) SET_UNI… in init()
1284 s.a = constCoords.x(); in init()
1285 s.b = constCoords.swizzle(1, 2, 3); in init()
1290 c.color.xyz() = c.constCoords.swizzle(0, 1, 2); in init()
1334 s.a = constCoords.x(); in init()
1336 s.b.b = constCoords.swizzle(1, 2); in init()
1341 c.color.xyz() = c.constCoords.swizzle(0, 1, 2); in init()
1376 s.a.value = constCoords.w(); in init()
1377 s.b[0].value = constCoords.z(); in init()
1378 s.b[1].value = constCoords.y(); in init()
[all …]
DvktShaderRenderIndexingTests.cpp113 void evalArrayUniformFloat (ShaderEvalContext& c) { c.color.x() = 1.875f * c.constCoords.x(); } in evalArrayUniformFloat()
114 void evalArrayUniformVec2 (ShaderEvalContext& c) { c.color.xy() = 1.875f * c.constCoords.swizzle(0… in evalArrayUniformVec2()
115 void evalArrayUniformVec3 (ShaderEvalContext& c) { c.color.xyz() = 1.875f * c.constCoords.swizzle(… in evalArrayUniformVec3()
116 void evalArrayUniformVec4 (ShaderEvalContext& c) { c.color = 1.875f * c.constCoords; } in evalArrayUniformVec4()
159 virtual void setup (ShaderRenderCaseInstance& instance, const tcu::Vec4& constCoords) const;
166 …ingTestUniformSetup::setup (ShaderRenderCaseInstance& instance, const tcu::Vec4& constCoords) const in setup()
179 arr[0] = Vec4(constCoords.x()); in setup()
180 arr[1] = Vec4(constCoords.x() * 0.5f); in setup()
181 arr[2] = Vec4(constCoords.x() * 0.25f); in setup()
182 arr[3] = Vec4(constCoords.x() * 0.125f); in setup()
[all …]
DvktShaderRender.hpp208 tcu::Vec4 constCoords; member in vkt::sr::ShaderEvalContext
254 typedef void (*UniformSetupFunc) (ShaderRenderCaseInstance& instance, const tcu::Vec4& constCoords);
262 virtual void setup (ShaderRenderCaseInstance& instance, const tcu::Vec4& constCoords) const;
502 virtual void setupUniforms (const tcu::Vec4& constCoords);
508 const tcu::Vec4& constCoords = getDefaultConstCoords());
514 const tcu::Vec4& constCoords = getDefaultConstCoords());
DvktShaderRender.cpp146 const tcu::Vec4& constCoords,
193 const tcu::Vec4& constCoords, in QuadGrid() argument
199 , m_constCoords (constCoords) in QuadGrid()
382 : constCoords (quadGrid.getConstCoords()) in ShaderEvalContext()
481 void UniformSetup::setup (ShaderRenderCaseInstance& instance, const tcu::Vec4& constCoords) const in setup()
484 m_setupFunc(instance, constCoords); in setup()
818 void ShaderRenderCaseInstance::setupUniforms (const tcu::Vec4& constCoords) in setupUniforms() argument
821 m_uniformSetup->setup(*this, constCoords); in setupUniforms()
1759 const tcu::Vec4& constCoords) in render() argument
1761 render(numVertices, numTriangles * 3, indices, VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST, constCoords); in render()
[all …]
DvktShaderRenderDerivateTests.cpp934 virtual void setup (ShaderRenderCaseInstance& instance, const tcu::Vec4& constCoords) const;
950 …erivateUniformSetup::setup (ShaderRenderCaseInstance& instance, const tcu::Vec4& constCoords) const in setup()
952 DerivateUniformSetup::setup(instance, constCoords); in setup()
DvktShaderRenderLoopTests.cpp292 virtual void setup (ShaderRenderCaseInstance& instance, const tcu::Vec4& constCoords) const;
DvktShaderRenderTextureFunctionTests.cpp1753 virtual void setupUniforms (const tcu::Vec4& constCoords);
1789 void TextureSizeInstance::setupUniforms (const tcu::Vec4& constCoords) in setupUniforms() argument
1791 TextureQueryInstance::setupUniforms(constCoords); in setupUniforms()
/external/deqp/modules/glshared/
DglsShaderRenderCase.hpp156 tcu::Vec4 constCoords; member in deqp::gls::ShaderEvalContext
219 virtual void setupUniforms (int programID, const tcu::Vec4& constCoords);
DglsShaderRenderCase.cpp137 …QuadGrid (int gridSize, int screenWidth, int screenHeight, const Vec4& constCoords, const vecto…
177 QuadGrid::QuadGrid (int gridSize, int width, int height, const Vec4& constCoords, const vector<Mat4… in QuadGrid() argument
181 , m_constCoords (constCoords) in QuadGrid()
264 : constCoords (quadGrid_.getConstCoords()) in ShaderEvalContext()
469 void ShaderRenderCase::setupUniforms (int programID, const Vec4& constCoords) in setupUniforms() argument
472 DE_UNREF(constCoords); in setupUniforms()

12