HomeSort by relevance Sort by last modified time
    Searched refs:Vec4 (Results 51 - 75 of 540) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/deqp/modules/gles2/functional/
es2fShaderTextureFunctionTests.cpp 80 tcu::Vec4 minCoord;
81 tcu::Vec4 maxCoord;
101 const tcu::Vec4& minCoord_,
102 const tcu::Vec4& maxCoord_,
165 tcu::Vec4 scale;
166 tcu::Vec4 bias;
180 using tcu::Vec4;
187 inline Vec4 texture2D (const gls::ShaderEvalContext& c, float s, float t, float lod) { return c.textures[0].tex2D->sample(c.textures[0].sampler, s, t, lod); }
188 inline Vec4 textureCube (const gls::ShaderEvalContext& c, float s, float t, float r, float lod) { return c.textures[0].texCube->sample(c.textures[0].sampler, s, t, r, lod); }
230 void setupUniforms (int programID, const tcu::Vec4& constCoords)
    [all...]
es2fDitheringTests.cpp 49 using tcu::Vec4;
98 DitheringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, bool isEnabled, PatternType patternType, const tcu::Vec4& color);
108 bool checkColor (const tcu::Vec4& inputClr, const tcu::RGBA& renderedClr, bool logErrors) const;
110 bool drawAndCheckGradient (bool isVerticallyIncreasing, const tcu::Vec4& highColor) const;
111 bool drawAndCheckUnicoloredQuad (const tcu::Vec4& color) const;
117 const tcu::Vec4 m_color;
138 DitheringCase::DitheringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* const name, const char* const description, const bool ditheringEnabled, const PatternType patternType, const Vec4& color)
168 bool DitheringCase::checkColor (const Vec4& inputClr, const tcu::RGBA& renderedClr, const bool logErrors) const
239 bool DitheringCase::drawAndCheckGradient (const bool isVerticallyIncreasing, const Vec4& highColor) const
249 const Vec4 quadClr0 (0.0f, 0.0f, 0.0f, 0.0f)
    [all...]
  /external/deqp/modules/gles31/functional/
es31fVertexAttributeBindingTests.cpp 48 "in mediump vec4 v_color;\n"
49 "layout(location = 0) out mediump vec4 fragColor;\n"
56 "in highp vec4 a_position;\n"
57 "in highp vec4 a_color;\n"
58 "out highp vec4 v_color;\n"
66 "in highp vec4 a_position;\n"
67 "in highp vec4 a_offset;\n"
68 "in highp vec4 a_color;\n"
69 "out highp vec4 v_color;\n"
450 const tcu::Vec4 colorA (0.0f, 1.0f, 0.0f, 1.0f)
    [all...]
  /external/deqp/external/openglcts/modules/gles31/
es31cTextureGatherTests.cpp 39 using tcu::Vec4;
317 " gl_Position = vec4(1); \n"
325 "out mediump vec4 color; \n" +
327 " color = vec4(1); \n"
555 std::vector<Vec4> pixels(size * size * slices, Vec4(1.0));
559 Vec4 data[4] = { Vec4(12. / 16, 13. / 16, 14. / 16, 15. / 16), Vec4(8. / 16, 9. / 16, 10. / 16, 11. / 16),
560 Vec4(0. / 16, 1. / 16, 2. / 16, 3. / 16), Vec4(4. / 16, 5. / 16, 6. / 16, 7. / 16) }
    [all...]
  /external/deqp/modules/gles3/functional/
es3fRasterizationTests.cpp 60 "in highp vec4 a_position;\n"
61 "in highp vec4 a_color;\n"
62 "${INTERPOLATION}out highp vec4 v_color;\n"
71 "layout(location = 0) out highp vec4 fragColor;\n"
72 "${INTERPOLATION}in highp vec4 v_color;\n"
123 void drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, glw::GLenum primitiveType);
124 void drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, const std::vector<tcu::Vec4>& coloDrata, glw::GLenum primitiveType);
351 void BaseRenderingCase::drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, glw::GLenum primitiveType)
354 const std::vector<tcu::Vec4> colorData(vertexData.size(), tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f))
    [all...]
es3fFboStencilbufferTests.cpp 42 using tcu::Vec4;
102 glClearBufferfv(GL_COLOR, 0, Vec4(0.0f).getPtr());
111 flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(1.0f, 0.0f, 0.0f, 1.0f));
114 gradShader.setGradient(*getCurrentContext(), gradShaderID, Vec4(0.0f), Vec4(1.0f));
123 flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(0.0f, 1.0f, 0.0f, 1.0));
129 flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(0.0f, 0.0f, 1.0f, 1.0f));
132 readPixels(dst, 0, 0, m_size.x(), m_size.y(), glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0.0f));
199 glClearBufferfv(GL_COLOR, 0, Vec4(0.0f).getPtr())
    [all...]
es3fShaderDerivateTests.cpp 200 static inline tcu::Vec4 readDerivate (const tcu::ConstPixelBufferAccess& surface, const tcu::Vec4& derivScale, const tcu::Vec4& derivBias, int x, int y)
205 static inline tcu::UVec4 getCompExpBits (const tcu::Vec4& v)
340 static inline tcu::Vec4 getDerivateThreshold (const glu::Precision precision, const tcu::Vec4& valueMin, const tcu::Vec4& valueMax, const tcu::Vec4& expectedDerivate)
348 return tcu::Vec4(computeFloatingPointError(expectedDerivate[0], numAccurateBits[0]),
354 static inline tcu::Vec4 getDerivateThresholdWarning (const glu::Precision precision, const tcu::Vec4& valueMin, const tcu: (…)
    [all...]
es3fDitheringTests.cpp 49 using tcu::Vec4;
98 DitheringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, bool isEnabled, PatternType patternType, const tcu::Vec4& color);
108 bool checkColor (const tcu::Vec4& inputClr, const tcu::RGBA& renderedClr, bool logErrors) const;
110 bool drawAndCheckGradient (bool isVerticallyIncreasing, const tcu::Vec4& highColor) const;
111 bool drawAndCheckUnicoloredQuad (const tcu::Vec4& color) const;
117 const tcu::Vec4 m_color;
138 DitheringCase::DitheringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* const name, const char* const description, const bool ditheringEnabled, const PatternType patternType, const Vec4& color)
168 bool DitheringCase::checkColor (const Vec4& inputClr, const tcu::RGBA& renderedClr, const bool logErrors) const
239 bool DitheringCase::drawAndCheckGradient (const bool isVerticallyIncreasing, const Vec4& highColor) const
249 const Vec4 quadClr0 (0.0f, 0.0f, 0.0f, 0.0f)
    [all...]
es3fFboTestUtil.cpp 50 using tcu::Vec4;
69 static tcu::Vector<T, 4> castVectorSaturate (const tcu::Vec4& in)
85 "in highp vec4 a_position;\n"
93 "uniform highp vec4 u_color;\n"
103 void FlatColorShader::setColor (sglr::Context& context, deUint32 program, const tcu::Vec4& color)
123 const tcu::Vec4 color (m_uniforms[0].value.f4);
161 "in highp vec4 a_position;\n"
162 "in highp vec4 a_coord;\n"
163 "out highp vec4 v_coord;\n"
172 "in highp vec4 v_coord;\n
    [all...]
  /external/deqp/modules/glshared/
glsShaderRenderCase.cpp 65 static const tcu::Vec4 DEFAULT_CLEAR_COLOR = tcu::Vec4(0.125f, 0.25f, 0.5f, 1.0f);
137 QuadGrid (int gridSize, int screenWidth, int screenHeight, const Vec4& constCoords, const vector<Mat4>& userAttribTransforms, const vector<TextureBinding>& textures);
143 const Vec4& getConstCoords (void) const { return m_constCoords; }
147 const Vec4* getPositions (void) const { return &m_positions[0]; }
149 const Vec4* getCoords (void) const { return &m_coords[0]; }
150 const Vec4* getUnitCoords (void) const { return &m_unitCoords[0]; }
151 const Vec4* getUserAttrib (int attribNdx) const { return &m_userAttribs[attribNdx][0]; }
154 Vec4 getCoords (float sx, float sy) const;
155 Vec4 getUnitCoords (float sx, float sy) const
    [all...]
glsFragmentOpUtil.hpp 52 tcu::Vec4 color[4];
53 tcu::Vec4 color1[4];
92 tcu::Vec4 color[4];
93 tcu::Vec4 color1[4];
  /external/deqp/external/openglcts/modules/common/
glcBlendEquationAdvancedTests.cpp 153 static float GetP0(const tcu::Vec4& src, const tcu::Vec4& dst)
157 static float GetP1(const tcu::Vec4& src, const tcu::Vec4& dst)
161 static float GetP2(const tcu::Vec4& src, const tcu::Vec4& dst)
166 static tcu::Vec4 Blend(const tcu::Vec4& rgb, const tcu::Vec4& src, const tcu::Vec4& dst
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/api/
vktApiComputeInstanceResultBuffer.hpp 43 DATA_SIZE = sizeof(tcu::Vec4[4])
51 void readResultContentsTo(tcu::Vec4 (* results)[4]) const;
vktApiBufferComputeInstance.cpp 86 const tcu::Vec4& color1,
87 const tcu::Vec4& color2,
95 DE_ASSERT(offset + sizeof(tcu::Vec4[2]) <= bufferSize);
121 deMemcpy((deUint8 *) mapPtr + offset, color1.getPtr(), sizeof(tcu::Vec4));
122 deMemcpy((deUint8 *) mapPtr + offset + sizeof(tcu::Vec4), color2.getPtr(), sizeof(tcu::Vec4));
123 deMemset((deUint8 *) mapPtr + offset + 2 * sizeof(tcu::Vec4), 0x5A,
124 (size_t) bufferSize - (size_t) offset - 2 * sizeof(tcu::Vec4));
168 const vk::VkDescriptorBufferInfo bufferInfo = makeDescriptorBufferInfo(buffer, (vk::VkDeviceSize)offset, (vk::VkDeviceSize)sizeof(tcu::Vec4[2]));
207 vk::makeDescriptorBufferInfo(viewA, (vk::VkDeviceSize)offsetA, (vk::VkDeviceSize)sizeof(tcu::Vec4[2]))
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/geometry/
vktGeometryBasicClass.hpp 58 std::vector<tcu::Vec4> m_vertexPosData;
59 std::vector<tcu::Vec4> m_vertexAttrData;
  /external/deqp/framework/referencerenderer/
rrFragmentOperations.hpp 83 void clearMultisampleColorBuffer (const tcu::PixelBufferAccess& dst, const tcu::Vec4& value, const WindowRectangle& rect);
119 tcu::Vec4 clampedBlendSrcColor;
120 tcu::Vec4 clampedBlendSrc1Color;
121 tcu::Vec4 clampedBlendDstColor;
141 void executeBlendFactorComputeRGB (const tcu::Vec4& blendColor, const BlendState& blendRGBState);
142 void executeBlendFactorComputeA (const tcu::Vec4& blendColor, const BlendState& blendAState);
148 void executeMaskedColorWrite (int fragNdxOffset, int numSamplesPerFragment, const Fragment* inputFragments, const tcu::Vec4& colorMaskFactor, const tcu::Vec4& colorMaskNegationFactor, bool isSRGB, const tcu::PixelBufferAccess& colorBuffer);
  /external/deqp/modules/gles3/scripts/
gen-swizzle-math-operations.py 27 VECTOR_TYPES = ["vec2", "vec3", "vec4", "ivec2", "ivec3", "ivec4"]
59 "vec4": 4,
115 Vec4(0.1, 0.5, 0.75, 0.825),
116 Vec4(1.0, 1.25, 1.125, 1.75),
117 Vec4(-0.5, -2.25, -4.875, 9.0),
118 Vec4(-32.0, 64.0, -51.0, 24.0),
119 Vec4(-0.75, -1.0/31.0, 1.0/19.0, 1.0/4.0),
127 Vec4(-1, 1, -1, 1),
128 Vec4(1, 2, 3, 4),
129 Vec4(-1, -2, -4, -9)
    [all...]
  /device/google/contexthub/firmware/os/algos/common/math/
mat.h 134 void mat44Apply(struct Vec4 *out, const struct Mat44 *A, const struct Vec4 *v);
165 void mat44Solve(const struct Mat44 *A, struct Vec4 *x, const struct Vec4 *b,
  /external/deqp/modules/egl/
teglGLES2RenderUtil.hpp 42 void clear (const glw::Functions& gl, int x, int y, int width, int height, const tcu::Vec4& color);
  /external/deqp/framework/common/
tcuTexCompareVerifier.hpp 59 bool isGatherOffsetsCompareResultValid (const Texture2DView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec2& coord, const IVec2 (&offsets)[4], float cmpReference, const Vec4& result);
60 bool isGatherOffsetsCompareResultValid (const Texture2DArrayView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, const IVec2 (&offsets)[4], float cmpReference, const Vec4& result);
62 bool isGatherCompareResultValid (const TextureCubeView& texture, const Sampler& sampler, const TexComparePrecision& prec, const Vec3& coord, float cmpReference, const Vec4& result);
tcuTexture.hpp 283 const Vec4& borderColor_ = Vec4(0.0f, 0.0f, 0.0f, 0.0f),
314 , borderColor (Vec4(0.0f, 0.0f, 0.0f, 0.0f))
359 Vec4 getPixel (int x, int y, int z = 0) const;
369 Vec4 sample1D (const Sampler& sampler, Sampler::FilterMode filter, float s, int level) const;
370 Vec4 sample2D (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, int depth) const;
371 Vec4 sample3D (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, float r) const;
373 Vec4 sample1DOffset (const Sampler& sampler, Sampler::FilterMode filter, float s, const IVec2& offset) const;
374 Vec4 sample2DOffset (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, const IVec3& offset) const;
375 Vec4 sample3DOffset (const Sampler& sampler, Sampler::FilterMode filter, float s, float t, float (…)
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/pipeline/
vktPipelineVertexUtil.cpp 886 using tcu::Vec4;
898 const Vec4 quadColors[4] =
900 Vec4(1.0f, 0.0f, 0.0f, 1.0),
901 Vec4(0.0f, 1.0f, 0.0f, 1.0),
902 Vec4(0.0f, 0.0f, 1.0f, 1.0),
903 Vec4(1.0f, 0.0f, 1.0f, 1.0)
911 const Vec4& color = quadColors[quadNdx];
915 Vec4(translation.x(), translation.y(), 0.0f, 1.0f),
920 Vec4(translation.x(), translation.y() + quadSize, 0.0f, 1.0f),
925 Vec4(translation.x() + quadSize, translation.y(), 0.0f, 1.0f)
    [all...]
  /external/deqp/external/openglcts/modules/gl/
gl4cShaderBallotTests.hpp 96 static bool validateScreenPixels(deqp::Context& context, tcu::Vec4 desiredColor, tcu::Vec4 ignoredColor);
97 static bool validateScreenPixelsSameColor(deqp::Context& context, tcu::Vec4 ignoredColor);
98 static bool validateColor(tcu::Vec4 testedColor, tcu::Vec4 desiredColor);
  /external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
vktFragmentOperationsScissorMultiViewportTests.cpp 54 using tcu::Vec4;
192 std::vector<Vec4> generateColors (const int numColors)
194 const Vec4 colors[] =
196 Vec4(0.18f, 0.42f, 0.17f, 1.0f),
197 Vec4(0.29f, 0.62f, 0.28f, 1.0f),
198 Vec4(0.59f, 0.84f, 0.44f, 1.0f),
199 Vec4(0.96f, 0.95f, 0.72f, 1.0f),
200 Vec4(0.94f, 0.55f, 0.39f, 1.0f),
201 Vec4(0.82f, 0.19f, 0.12f, 1.0f),
202 Vec4(0.46f, 0.15f, 0.26f, 1.0f)
    [all...]
vktFragmentOperationsScissorTests.cpp 54 using tcu::Vec4;
74 Vec4 position;
75 Vec4 color;
81 Vec4 renderArea; //!< (ox, oy, w, h), where origin (0,0) is the top-left corner of the viewport. Width and height are in range [0, 1].
82 Vec4 scissorArea; //!< scissored area (ox, oy, w, h)
144 sizeof(Vec4), // uint32_t offset;
185 inline VertexData makeVertex (const float x, const float y, const Vec4& color)
187 const VertexData data = { Vec4(x, y, 0.0f, 1.0f), color };
191 std::vector<VertexData> genVertices (const TestPrimitive primitive, const Vec4& renderArea, const Vec4& primitiveColor
    [all...]

Completed in 1498 milliseconds

1 23 4 5 6 7 8 91011>>