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

1 2 3 4 5 6 78 91011>>

  /external/mesa3d/src/gallium/drivers/swr/rasterizer/common/
simdlib_types.hpp 144 union Vec4
158 SIMDINLINE Vec4& SIMDCALL operator=(Vec4 const & in)
203 using Vec4 = SIMDImpl::Vec4<Float, Integer, Double>;
259 using Vec4 = SIMDImpl::Vec4<Float, Integer, Double>;
372 typedef SIMDImpl::Vec4<Float, Integer, Double> SIMDALIGN(Vec4, 64);
  /external/deqp/external/vulkancts/modules/vulkan/conditional_rendering/
vktConditionalClearAttachmentTests.cpp 76 m_data.push_back(Draw::VertexElementData(tcu::Vec4(0.0f), tcu::Vec4(0.0f), 0));
89 const tcu::Vec4 clearColor = tcu::RGBA::black().toVec();
90 const tcu::Vec4 drawColor = tcu::RGBA::blue().toVec();
188 const tcu::Vec4 referenceColor = m_conditionalData.expectCommandExecution ?
  /external/deqp/external/vulkancts/modules/vulkan/geometry/
vktGeometryBasicClass.cpp 48 using tcu::Vec4;
96 const deUint32 vertexAtrrOffset = static_cast<deUint32>(sizeof(Vec4));
120 Vec4 pos;
121 Vec4 color;
154 const tcu::Vec4 clearColor(0.0f, 0.0f, 0.0f, 1.0f);
vktGeometryEmitGeometryShaderTests.cpp 53 using tcu::Vec4;
90 m_vertexPosData[0] = Vec4(0, 0, 0, 1);
93 m_vertexAttrData[0] = Vec4(1, 1, 1, 1);
123 << "layout(location = 0) in highp vec4 a_position;\n"
124 << "layout(location = 1) in highp vec4 a_color;\n"
125 << "layout(location = 0) out highp vec4 v_geom_FragColor;\n"
143 << "layout(location = 0) out mediump vec4 fragColor;\n"
144 << "layout(location = 0) in highp vec4 v_frag_FragColor;\n"
167 << "layout(location = 0) in highp vec4 v_geom_FragColor[];\n"
168 << "layout(location = 0) out highp vec4 v_frag_FragColor;\n
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/ycbcr/
vktYCbCrUtil.hpp 85 void fillGradient (MultiPlaneImageData* imageData, const tcu::Vec4& minVal, const tcu::Vec4& maxVal);
201 std::vector<tcu::Vec4>& minBounds,
202 std::vector<tcu::Vec4>& maxBounds,
203 std::vector<tcu::Vec4>& uvBounds,
  /external/deqp/modules/gles3/performance/
es3pBlendTests.cpp 40 using tcu::Vec4;
90 "in highp vec4 a_position;\n"
91 "in mediump vec4 a_color;\n"
92 "out mediump vec4 v_color;\n"
100 "in mediump vec4 v_color;\n"
101 "layout(location = 0) out mediump vec4 o_color;\n"
107 m_attributes.push_back(AttribSpec("a_color", Vec4(0.0f, 0.5f, 0.5f, 1.0f),
108 Vec4(0.5f, 1.0f, 0.0f, 0.5f),
109 Vec4(0.5f, 0.0f, 1.0f, 0.5f),
110 Vec4(1.0f, 0.5f, 0.5f, 0.0f)))
    [all...]
es3pTextureCases.cpp 48 using tcu::Vec4;
125 m_attributes.push_back(AttribSpec("a_coords", Vec4(p00.x(), p00.y(), 0.0f, 0.0f),
126 Vec4(p10.x(), p10.y(), 0.0f, 0.0f),
127 Vec4(p01.x(), p01.y(), 0.0f, 0.0f),
128 Vec4(p11.x(), p11.y(), 0.0f, 0.0f)));
143 "in highp vec4 a_position;\n"
154 fragSrc << "layout(location = 0) out mediump vec4 o_color;\n";
166 fragSrc << "\t" << glu::getPrecisionName(samplerPrec) << " vec4 r = ";
171 fragSrc << "vec4(";
  /external/deqp/modules/gles2/scripts/
genutil.py 138 ret = [Vec4(random.uniform(mn, mx), random.uniform(mn, mx), random.uniform(mn, mx), random.uniform(mn, mx)) for x in xrange(count)]
145 ret = [Vec4(random.random() >= 0.5, random.random() >= 0.5, random.random() >= 0.5, random.random() >= 0.5) for x in xrange(count)]
228 def toVec4(self): return Vec4(self.x, self.x, self.x, self.x)
287 elif isinstance(val, Vec4):
288 return Vec4(self.x * val.x, self.x * val.y, self.x * val.z, self.x * val.w)
299 elif isinstance(val, Vec4):
300 return Vec4(self.x / val.x, self.x / val.y, self.x / val.z, self.x / val.w)
311 else: return Vec4(lst[0], lst[1], lst[2], lst[3])
344 def toVec4(self): return Vec4(self.x, self.y, 0.0, 0.0)
430 def toVec4(self): return Vec4(self.x, self.y, self.z, 0.0
    [all...]
  /external/deqp/modules/egl/
teglImageFormatTests.cpp 238 ModifyRenderbufferClearColor (tcu::Vec4 color) : m_color(color) {}
243 tcu::Vec4 m_color;
412 "\tgl_Position = vec4(a_coord, -0.1, 1.0);\n"
419 "\tmediump vec4 texColor = texture2D(u_sampler, v_texCoord);\n"
420 "\tgl_FragColor = vec4(texColor);\n"
489 "\tgl_Position = vec4(a_coord, u_depth, 1.0);\n"
493 "uniform mediump vec4 u_color;\n"
516 tcu::Vec4 depthLevelColors[] = {
517 tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f),
518 tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f)
    [all...]
teglImageUtil.cpp 57 using tcu::Vec4;
254 tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f),
255 tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f));
430 static const tcu::Vec4 colorValues[] =
432 tcu::Vec4(0.9f, 0.5f, 0.65f, 1.0f),
433 tcu::Vec4(0.5f, 0.7f, 0.65f, 1.0f),
434 tcu::Vec4(0.2f, 0.5f, 0.65f, 1.0f),
435 tcu::Vec4(0.3f, 0.1f, 0.5f, 1.0f),
436 tcu::Vec4(0.8f, 0.2f, 0.3f, 1.0f),
437 tcu::Vec4(0.9f, 0.4f, 0.8f, 1.0f)
    [all...]
  /external/deqp/modules/gles31/functional/
es31fPrimitiveBoundingBoxTests.cpp 63 tcu::Vec4 min;
64 tcu::Vec4 max;
109 tcu::Vec4 vertexBox;
259 { tcu::Vec4( 0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4( 0.0f, 0.0f, 0.0f, 0.0f) },
260 { tcu::Vec4(-0.0f, -0.0f, -0.0f, -0.0f), tcu::Vec4( 0.0f, 0.0f, 0.0f, -0.0f) },
261 { tcu::Vec4( 0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4( 1.0f, 1.0f, 1.0f, -1.0f) },
262 { tcu::Vec4( 2.0f, 2.0f, 2.0f, 2.0f), tcu::Vec4( 1.5f, 1.5f, 1.5f, 1.0f) }
    [all...]
es31fTextureMultisampleTests.cpp 155 tcu::Vec4 p1;
156 tcu::Vec4 p2;
157 tcu::Vec4 p3;
242 tri.p1 = tcu::Vec4(((float)i + 1.0f / (float)(i + 1)) / 20.0f, 0.0f, 0.0f, 1.0f);
243 tri.p2 = tcu::Vec4(((float)i + 0.3f + 1.0f / (float)(i + 1)) / 20.0f, 0.0f, 0.0f, 1.0f);
244 tri.p3 = tcu::Vec4(((float)i + 1.0f / (float)(i + 1)) / 20.0f, -1.0f, 0.0f, 1.0f);
251 tri.p1 = tcu::Vec4(-1.0f, ((float)i + 1.0f / (float)(i + 1)) / 20.0f, 0.0f, 1.0f);
252 tri.p2 = tcu::Vec4(-1.0f, ((float)i + 0.3f + 1.0f / (float)(i + 1)) / 20.0f, 0.0f, 1.0f);
253 tri.p3 = tcu::Vec4( 0.0f, ((float)i + 1.0f / (float)(i + 1)) / 20.0f, 0.0f, 1.0f);
264 tri.p1 = tcu::Vec4(0.4f, 0.4f, 0.0f, 1.0f)
    [all...]
  /external/deqp/external/openglcts/modules/gl/
gl4cShaderBallotTests.cpp 55 "in highp vec4 inColor;\n"
57 "out highp vec4 vsColor;\n"
60 " gl_Position = vec4(inPosition, 0.0, 1.0);\n"
62 " vec4 outColor = vec4(0.0); \n");
72 m_shaders[glu::SHADERTYPE_FRAGMENT].push_back("in highp vec4 gsColor;\n"
73 "out highp vec4 fsColor;\n"
76 " vec4 outColor = vec4(0.0); \n");
89 "in highp vec4 vsColor[];\n
    [all...]
gl4cShaderViewportLayerArrayTests.cpp 62 "in highp vec4 inColor;\n"
65 "out highp vec4 vsColor;\n"
68 " gl_Position = vec4(inPosition, 0.0, 1.0);\n"
78 "in highp vec4 vsColor[];\n"
81 "out highp vec4 tcsColor[];\n"
98 "in highp vec4 tcsColor[];\n"
100 "out highp vec4 tesColor;\n"
110 " gl_Position = vec4(normalize(p0 + p1 + p2), 1.0);\n"
117 "in highp vec4 tesColor[];\n"
119 "out highp vec4 gsColor;\n
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/texture/
vktSampleVerifierUtil.hpp 72 void calcUnnormalizedCoordRange (const tcu::Vec4& coord,
105 tcu::Vec4& resultMin,
106 tcu::Vec4& resultMax);
vktTextureShadowTests.cpp 250 tcu::fillWithComponentGradients(m_textures[0]->getLevel(levelNdx, 0), tcu::Vec4(-0.5f, -0.5f, -0.5f, 2.0f), tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f));
443 const tcu::Vec4 cBias = fmtInfo.valueMin;
444 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin;
455 static const tcu::Vec4 gradients[tcu::CUBEFACE_LAST][2] =
457 { tcu::Vec4(-1.0f, -1.0f, -1.0f, 2.0f), tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f) }, // negative x
458 { tcu::Vec4( 0.0f, -1.0f, -1.0f, 2.0f), tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f) }, // positive x
459 { tcu::Vec4(-1.0f, 0.0f, -1.0f, 2.0f), tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f) }, // negative
    [all...]
  /external/deqp/modules/gles3/scripts/
genutil.py 148 ret = [Vec4(random.uniform(mn, mx), random.uniform(mn, mx), random.uniform(mn, mx), random.uniform(mn, mx)) for x in xrange(count)]
155 ret = [Vec4(random.random() >= 0.5, random.random() >= 0.5, random.random() >= 0.5, random.random() >= 0.5) for x in xrange(count)]
241 def toVec4(self): return Vec4(self.x, self.x, self.x, self.x)
319 elif isinstance(val, Vec4):
320 return Vec4(self.x * val.x, self.x * val.y, self.x * val.z, self.x * val.w)
331 elif isinstance(val, Vec4):
332 return Vec4(self.x / val.x, self.x / val.y, self.x / val.z, self.x / val.w)
369 else: return Vec4(lst[0], lst[1], lst[2], lst[3])
408 def toVec4(self): return Vec4(self.x, self.y, 0.0, 0.0)
519 def toVec4(self): return Vec4(self.x, self.y, self.z, 0.0
    [all...]
  /external/deqp/modules/gles31/scripts/
genutil.py 148 ret = [Vec4(random.uniform(mn, mx), random.uniform(mn, mx), random.uniform(mn, mx), random.uniform(mn, mx)) for x in xrange(count)]
155 ret = [Vec4(random.random() >= 0.5, random.random() >= 0.5, random.random() >= 0.5, random.random() >= 0.5) for x in xrange(count)]
241 def toVec4(self): return Vec4(self.x, self.x, self.x, self.x)
321 elif isinstance(val, Vec4):
322 return Vec4(self.x * val.x, self.x * val.y, self.x * val.z, self.x * val.w)
333 elif isinstance(val, Vec4):
334 return Vec4(self.x / val.x, self.x / val.y, self.x / val.z, self.x / val.w)
371 else: return Vec4(lst[0], lst[1], lst[2], lst[3])
410 def toVec4(self): return Vec4(self.x, self.y, 0.0, 0.0)
521 def toVec4(self): return Vec4(self.x, self.y, self.z, 0.0
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/pipeline/
vktPipelinePushConstantTests.cpp 163 virtual void setReferenceColor (tcu::Vec4 initColor) = 0;
228 const tcu::Vec4 color = tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f);
229 const Vertex4RGBA lowerLeftVertex = {tcu::Vec4(-size, -size, 0.0f, 1.0f), color};
230 const Vertex4RGBA lowerRightVertex = {tcu::Vec4(size, -size, 0.0f, 1.0f), color};
231 const Vertex4RGBA UpperLeftVertex = {tcu::Vec4(-size, size, 0.0f, 1.0f), color};
232 const Vertex4RGBA UpperRightVertex = {tcu::Vec4(size, size, 0.0f, 1.0f), color};
368 const tcu::Vec4 value = tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f);
665 void setReferenceColor (tcu::Vec4 initColor)
    [all...]
vktPipelineImageSamplingInstance.cpp     [all...]
  /external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
vktSpvAsmCrossStageInterfaceTests.cpp 65 using tcu::Vec4;
261 vector<Vec4> m_data;
264 const Vec4 m_colorRed;
265 const Vec4 m_colorGreen;
275 const VkDeviceSize vertexDataSize = static_cast<VkDeviceSize>(deAlignSize(static_cast<size_t>( m_data.size() * sizeof(Vec4)),
372 const VkClearValue renderPassClearValue = makeClearValueColor(tcu::Vec4(0.0f));
392 beginRenderPass(vk, *cmdBuffer, *renderPass, *frameBuffer, makeRect2D(0, 0, m_extent.width, m_extent.height), tcu::Vec4(0.0f));
446 m_data[++ndx] = Vec4(-2.0f,-2.0f, 1.0f, 2.0f); //position
448 m_data[++ndx] = Vec4(-1.0f,-1.0f, 1.0f, 1.0f); //position
452 m_data[++ndx] = Vec4(-2.0f, 2.0f, 1.0f, 2.0f); //positio
    [all...]
  /external/deqp/framework/common/
tcuFuzzyImageCompare.cpp 58 static inline Vec4 toFloatVec (deUint32 color)
60 return Vec4((float)getChannel<0>(color), (float)getChannel<1>(color), (float)getChannel<2>(color), (float)getChannel<3>(color));
68 static inline deUint32 toColor (Vec4 v)
178 Vec4 sum(0);
197 Vec4 sum(0.0f);
263 static inline float toGrayscale (const Vec4& c)
314 clear(errorMask, Vec4(0.0f, 1.0f, 0.0f, 1.0f));
340 errorMask.setPixel(Vec4(red*rF, (1.0f-red)*rF, 0.0f, 1.0f), x, y);
  /external/deqp/modules/gles3/functional/
es3fVertexTextureTests.cpp 47 using tcu::Vec4;
242 Vec4 getQuadLDRU (int col, int row) const; //!< Vec4(leftX, downY, rightX, upY)
260 Vec4 PosTexCoordQuadGrid<TexType>::getQuadLDRU (int col, int row) const
265 return Vec4(m_positions[ndx00].x(),
429 static void setPixelColors (const vector<Vec4>& quadColors, const Rect& region, const PosTexCoordQuadGrid<TexType>& grid, tcu::Surface& dst)
436 const Vec4 color = quadColors[y*gridSize + x];
437 const Vec4 ldru = grid.getQuadLDRU(x, y) * 0.5f + 0.5f; // [-1, 1] -> [0, 1]
454 static inline Vec4 sample (const tcu::Texture2D& tex, const Vec2& coord, float lod, const tcu::Sampler& sam) { return tex.sample(sam, coord.x(), coord.y(), lod); }
455 static inline Vec4 sample (const tcu::TextureCube& tex, const Vec3& coord, float lod, const tcu::Sampler& sam) { ret (…)
    [all...]
  /external/deqp/modules/glshared/
glsFragOpInteractionCase.cpp 61 using tcu::Vec4;
296 setVertex(posPtr, 0, Vec4(pA.x(), pA.y(), depth, 1.0f));
297 setVertex(posPtr, 1, Vec4(pB.x(), pA.y(), depth, 1.0f));
298 setVertex(posPtr, 2, Vec4(pA.x(), pB.y(), depth, 1.0f));
299 setVertex(posPtr, 3, Vec4(pB.x(), pB.y(), depth, 1.0f));
413 static tcu::Vec4 getWellBehavingColor (const tcu::Vec4& accurateColor, const tcu::PixelFormat& format)
415 return tcu::Vec4(getWellBehavingChannelColor(accurateColor[0], format.redBits),
524 const tcu::Vec4 vtxInterpFactors[] =
526 tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)
    [all...]
  /external/deqp/modules/gles2/functional/
es2fTextureSpecificationTests.cpp 58 using tcu::Vec4;
117 << sglr::pdec::VertexSource("attribute highp vec4 a_position;\n"
132 " gl_FragColor = vec4(f0, f1, 1.0-f0, 1.0-f1);\n"
153 const tcu::Vec4 coord = rr::readTriangleVarying<float>(packets[packetNdx], context, 0, fragNdx);
159 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, tcu::Vec4(f0, f1, 1.0f-f0, 1.0f-f1));
174 << sglr::pdec::VertexSource("attribute highp vec4 a_position;\n"
211 tcu::Vec4 colors[4];
218 const tcu::Vec4 coord = rr::readTriangleVarying<float>(packets[packetNdx], context, 0, fragNdx);
252 << sglr::pdec::VertexSource("attribute highp vec4 a_position;\n"
293 tcu::Vec4 colors[4]
    [all...]

Completed in 3092 milliseconds

1 2 3 4 5 6 78 91011>>