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

1 2 34 5 6 7 8 91011>>

  /external/deqp/external/openglcts/modules/gl/
gl4cVertexAttribBindingTests.cpp 36 using tcu::Vec4;
87 inline bool ColorEqual(const Vec4& c0, const Vec4& c1, const Vec4& epsilon)
100 inline bool ColorEqual(const Vec3& c0, const Vec3& c1, const Vec4& epsilon)
116 Vec4 g_color_eps = Vec4(
139 bool CheckRectColor(const std::vector<Vec4>& fb, int fb_w, int rx, int ry, int rw, int rh, const Vec4& expected)
143 Vec4 g_color_eps = Vec4
    [all...]
gl4cShaderViewportLayerArrayTests.hpp 100 tcu::Vec4 color);
102 static bool validateColor(tcu::Vec4 testedColor, tcu::Vec4 desiredColor);
117 std::vector<tcu::Vec4> m_viewportData;
  /external/deqp/external/vulkancts/modules/vulkan/shaderrender/
vktShaderRenderDerivateTests.cpp 170 static inline tcu::Vec4 readDerivate (const tcu::ConstPixelBufferAccess& surface, const tcu::Vec4& derivScale, const tcu::Vec4& derivBias, int x, int y)
175 static inline tcu::UVec4 getCompExpBits (const tcu::Vec4& v)
296 static inline tcu::Vec4 getDerivateThreshold (const glu::Precision precision, const tcu::Vec4& valueMin, const tcu::Vec4& valueMax, const tcu::Vec4& expectedDerivate)
304 return tcu::Vec4(computeFloatingPointError(expectedDerivate[0], numAccurateBits[0]),
312 const tcu::Vec4& v
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/draw/
vktDrawSimpleTest.cpp 66 m_data.push_back(VertexElementData(tcu::Vec4(1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), -1));
67 m_data.push_back(VertexElementData(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), -1));
74 m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), refVertexIndex++));
75 m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), refVertexIndex++));
76 m_data.push_back(VertexElementData(tcu::Vec4( 0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), refVertexIndex++));
77 m_data.push_back(VertexElementData(tcu::Vec4( 0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), refVertexIndex++));
78 m_data.push_back(VertexElementData(tcu::Vec4( 0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), refVertexIndex++));
79 m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), refVertexIndex++));
82 m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), refVertexIndex++));
83 m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), refVertexIndex++))
    [all...]
vktDrawShaderLayerTests.cpp 58 using tcu::Vec4;
309 sizeof(Vec4), // uint32_t offset;
507 const Vec4& clearColor,
509 const Vec4& cellColor)
530 << "layout(location = 0) in vec4 in_position;\n"
531 << "layout(location = 1) in vec4 in_color;\n"
532 << "layout(location = 0) out vec4 out_color;\n"
549 << "layout(location = 0) in vec4 in_color;\n"
550 << "layout(location = 0) out vec4 out_color;\n"
570 << "layout(location = 0) in vec4 in_position;\n
    [all...]
vktDrawShaderViewportIndexTests.cpp 60 using tcu::Vec4;
223 sizeof(Vec4), // uint32_t offset;
459 std::vector<Vec4> generateColors (const int numColors)
461 const Vec4 colors[] =
463 Vec4(0.18f, 0.42f, 0.17f, 1.0f),
464 Vec4(0.29f, 0.62f, 0.28f, 1.0f),
465 Vec4(0.59f, 0.84f, 0.44f, 1.0f),
466 Vec4(0.96f, 0.95f, 0.72f, 1.0f),
467 Vec4(0.94f, 0.55f, 0.39f, 1.0f),
468 Vec4(0.82f, 0.19f, 0.12f, 1.0f)
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/pipeline/
vktPipelineReferenceRenderer.hpp 43 tcu::Vec4 swizzle (const tcu::Vec4& color, const tcu::UVec4& swizzle);
63 tcu::Vec4 position;
64 tcu::Vec4 color;
98 tcu::Vec4 position;
99 tcu::Vec4 texCoord;
151 const tcu::Vec4 vtxPosition = rr::readVarying<float>(packet, context, 0, fragNdx);
158 const tcu::Vec4 vtxColor = rr::readVarying<float>(packet, context, 1, fragNdx);
190 const tcu::Vec4 vtxTexCoord = rr::readVarying<float>(packet, context, 1, fragNdx);
235 void colorClear (const tcu::Vec4& color)
    [all...]
vktPipelineClearUtil.cpp 36 tcu::Vec4 defaultClearColor (const tcu::TextureFormat& format)
50 const tcu::Vec4 color = (defaultClearColorUnorm() - formatInfo.lookupBias) / formatInfo.lookupScale;
61 const tcu::Vec4 color = (defaultClearColorUnorm() - formatInfo.lookupBias) / formatInfo.lookupScale;
69 tcu::Vec4 defaultClearColorUnorm (void)
71 return tcu::Vec4(0.39f, 0.58f, 0.93f, 1.0f);
124 const tcu::Vec4 defaultColor = defaultClearColor(tcuClearFormat);
  /external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
vktDynamicStateGeneralTests.cpp 64 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()));
65 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()));
66 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()));
67 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()));
115 tcu::clear(referenceFrame.getLevel(0), tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f));
127 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), x, y);
156 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()));
157 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()));
158 m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()));
159 m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()))
    [all...]
  /external/deqp/modules/gles2/functional/
es2fDepthRangeTests.cpp 53 using tcu::Vec4;
59 "attribute highp vec4 a_position;\n"
66 "uniform mediump vec4 u_color;\n"
96 inline float triQuadInterpolate (const float x, const float y, const tcu::Vec4& quad)
115 DepthRangeCompareCase (Context& context, const char* name, const char* desc, const tcu::Vec4& depthCoord, const float zNear, const float zFar, const deUint32 compareFunc);
121 const tcu::Vec4 m_depthCoord;
127 DepthRangeCompareCase::DepthRangeCompareCase (Context& context, const char* name, const char* desc, const tcu::Vec4& depthCoord, const float zNear, const float zFar, const deUint32 compareFunc)
266 DepthRangeWriteCase (Context& context, const char* name, const char* desc, const tcu::Vec4& depthCoord, const float zNear, const float zFar);
272 const tcu::Vec4& m_depthCoord;
277 DepthRangeWriteCase::DepthRangeWriteCase (Context& context, const char* name, const char* desc, const tcu::Vec4& depthCoord, const float zNear, const float zFar
    [all...]
es2fPolygonOffsetTests.cpp 59 const char* s_shaderSourceVertex = "attribute highp vec4 a_position;\n"
60 "attribute highp vec4 a_color;\n"
61 "varying mediump vec4 v_color;\n"
67 const char* s_shaderSourceFragment = "varying mediump vec4 v_color;\n"
73 static const tcu::Vec4 MASK_COLOR_OK = tcu::Vec4(0.0f, 0.1f, 0.0f, 1.0f);
74 static const tcu::Vec4 MASK_COLOR_DEV = tcu::Vec4(0.8f, 0.5f, 0.0f, 1.0f);
75 static const tcu::Vec4 MASK_COLOR_FAIL = tcu::Vec4(1.0f, 0.0f, 1.0f, 1.0f)
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/geometry/
vktGeometryVaryingGeometryShaderTests.cpp 87 m_vertexPosData[0] = tcu::Vec4(0.5f, 0.0f, 0.0f, 1.0f);
88 m_vertexPosData[1] = tcu::Vec4(0.0f, 0.5f, 0.0f, 1.0f);
89 m_vertexPosData[2] = tcu::Vec4(0.1f, 0.0f, 0.0f, 1.0f);
92 m_vertexAttrData[0] = tcu::Vec4(0.7f, 0.4f, 0.6f, 1.0f);
93 m_vertexAttrData[1] = tcu::Vec4(0.9f, 0.2f, 0.5f, 1.0f);
94 m_vertexAttrData[2] = tcu::Vec4(0.1f, 0.8f, 0.3f, 1.0f);
123 <<"layout(location = 0) in highp vec4 a_position;\n"
124 <<"layout(location = 1) in highp vec4 a_color;\n";
139 src <<"layout(location = 0) out highp vec4 v_geom_0;\n"
160 src << "layout(location = 0) in highp vec4 v_geom_0[];\n"
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/multiview/
vktMultiViewRenderTests.cpp 285 const tcu::Vec4 getQuarterRefColor (const deUint32 quarterNdx, const int colorNdx, const int layerNdx, const bool background = true, const deUint32 subpassNdx = 0u);
286 void appendVertex (const tcu::Vec4& coord, const tcu::Vec4& color);
287 void setPoint (const tcu::PixelBufferAccess& pixelBuffer, const tcu::Vec4& pointColor, const int pointSize, const int layerNdx, const deUint32 quarter);
288 void fillTriangle (const tcu::PixelBufferAccess& pixelBuffer, const tcu::Vec4& color, const int layerNdx, const deUint32 quarter);
289 void fillLayer (const tcu::PixelBufferAccess& pixelBuffer, const tcu::Vec4& color, const int layerNdx);
290 void fillQuarter (const tcu::PixelBufferAccess& pixelBuffer, const tcu::Vec4& color, const int layerNdx, const deUint32 quarter, const deUint32 subpassNdx);
301 vector<tcu::Vec4> m_vertexCoord;
304 vector<tcu::Vec4> m_vertexColor;
314 vector<tcu::Vec4> m_colorTable
    [all...]
  /external/deqp/framework/common/
tcuSurfaceAccess.hpp 42 inline tcu::RGBA toRGBAMasked (const tcu::Vec4& v, deUint8 mask)
60 void setPixel (const tcu::Vec4& color, int x, int y) const;
71 inline void SurfaceAccess::setPixel (const tcu::Vec4& color, int x, int y) const
tcuVectorType.hpp 41 typedef Vector<float, 4> Vec4;
tcuImageCompare.cpp 44 void computeScaleAndBias (const ConstPixelBufferAccess& reference, const ConstPixelBufferAccess& result, tcu::Vec4& scale, tcu::Vec4& bias)
46 Vec4 minVal;
47 Vec4 maxVal;
51 Vec4 refMin;
52 Vec4 refMax;
60 Vec4 resMin;
61 Vec4 resMax;
223 Vec4 pixelBias (0.0f, 0.0f, 0.0f, 0.0f);
224 Vec4 pixelScale (1.0f, 1.0f, 1.0f, 1.0f)
    [all...]
  /external/deqp/modules/glshared/
glsSamplerObjectTest.cpp 132 "\tgl_Position = vec4(u_posScale * a_position, 0.0, 1.0);\n"
144 "\tgl_Position = vec4(u_posScale * a_position.xy, 0.0, 1.0);\n"
150 "${VTX_IN} ${HIGHP} vec4 a_position;\n"
156 "\tgl_Position = vec4(u_posScale * a_position.xy, 0.0, 1.0);\n"
215 params["FRAG_HDR"] = "#version 300 es\nlayout(location = 0) out mediump vec4 o_color;\n";
227 params["FRAG_HDR"] = "#version 330\nlayout(location = 0) out mediump vec4 o_color;\n";
385 tcu::fillWithComponentGradients(refTexture.getLevel(0), tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f));
411 tcu::fillWithComponentGradients(refTexture.getLevel(0), tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f))
    [all...]
  /external/mesa3d/src/gallium/drivers/swr/rasterizer/common/
intrin.h 35 typedef SIMDImpl::SIMD128Impl::Vec4 simd4vector;
41 typedef SIMDImpl::SIMD256Impl::Vec4 simd8vector;
47 typedef SIMDImpl::SIMD512Impl::Vec4 simd16vector;
  /external/deqp/framework/referencerenderer/
rrPrimitivePacket.hpp 58 void EmitVertex (const tcu::Vec4& position, float pointSize, const GenericVec4* varyings, int primitiveID);
rrVertexPacket.hpp 60 tcu::Vec4 position; //!< Transformed position - must be written always.
  /external/deqp/external/openglcts/modules/gles31/
es31cVertexAttribBindingTests.cpp 35 using tcu::Vec4;
103 inline bool ColorEqual(const Vec4& c0, const Vec4& c1, const Vec4& epsilon)
335 "#version 310 es" NL "layout(location = 7) in vec4 vs_in_position;" NL
339 "#version 310 es" NL "precision highp float;" NL "in vec3 g_color;" NL "out vec4 fs_out_color;" NL
340 "void main() {" NL " fs_out_color = vec4(g_color, 1);" NL "}";
420 Vec4 expected_data[60];
429 expected_data[i] = Vec4(0.0f);
447 "#version 310 es" NL "layout(location = 0) in vec4 vs_in_attrib0;" N
    [all...]
  /external/deqp/modules/gles3/functional/
es3fShaderBuiltinVarTests.cpp 217 "in highp vec4 a_position;\n"
224 "in mediump vec4 v_color;\n"
225 "layout(location = 0) out mediump vec4 o_color;\n\n"
235 src << "in highp vec4 a_position;\n"
236 << "out mediump vec4 v_color;\n";
238 src << "layout(location = 0) out mediump vec4 o_color;\n";
241 src << "\t" << (m_isVertexCase ? "v_color" : "o_color") << " = vec4(gl_DepthRange.near, gl_DepthRange.far, gl_DepthRange.diff*0.5 + 0.5, 1.0);\n";
307 "in highp vec4 a_position;\n"
315 "layout(location = 0) out mediump vec4 o_color;\n"
318 " o_color = vec4(gl_FragCoord.xyz*u_scale, 1.0);\n
    [all...]
es3fFboDepthbufferTests.cpp 42 using tcu::Vec4;
79 gradShader.setGradient(*getCurrentContext(), gradShaderID, tcu::Vec4(0.0f), tcu::Vec4(1.0f));
118 tcu::fillWithGrid(data.getAccess(), 8, Vec4(0.2f, 0.7f, 0.1f, 1.0f), Vec4(0.7f, 0.1f, 0.5f, 0.8f));
132 readPixels(dst, 0, 0, m_width, m_height, glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0.0f));
169 const tcu::Vec4 red (1.0, 0.0, 0.0, 1.0);
170 const tcu::Vec4 green (0.0, 1.0, 0.0, 1.0);
218 readPixels(dst, 0, 0, m_width, m_height, glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0.0f))
    [all...]
es3fPolygonOffsetTests.cpp 60 "in highp vec4 a_position;\n"
61 "in highp vec4 a_color;\n"
62 "out highp vec4 v_color;\n"
69 "in highp vec4 v_color;\n"
70 "layout(location = 0) out mediump vec4 fragColor;"
76 static const tcu::Vec4 MASK_COLOR_OK = tcu::Vec4(0.0f, 0.1f, 0.0f, 1.0f);
77 static const tcu::Vec4 MASK_COLOR_DEV = tcu::Vec4(0.8f, 0.5f, 0.0f, 1.0f);
78 static const tcu::Vec4 MASK_COLOR_FAIL = tcu::Vec4(1.0f, 0.0f, 1.0f, 1.0f)
    [all...]
  /external/deqp/modules/gles31/functional/
es31fMultisampleTests.cpp 47 using tcu::Vec4;
176 void renderTriangle (const Vec3& p0, const Vec3& p1, const Vec3& p2, const Vec4& c0, const Vec4& c1, const Vec4& c2) const;
177 void renderTriangle (const Vec2& p0, const Vec2& p1, const Vec2& p2, const Vec4& c0, const Vec4& c1, const Vec4& c2) const;
178 void renderTriangle (const Vec2& p0, const Vec2& p1, const Vec2& p2, const Vec4& color) const;
179 void renderQuad (const Vec2& p0, const Vec2& p1, const Vec2& p2, const Vec2& p3, const Vec4& c0, const Vec4& c1, const Vec4& c2, const Vec4& c3) const
    [all...]

Completed in 1151 milliseconds

1 2 34 5 6 7 8 91011>>