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

<<11121314151617181920>>

  /external/deqp/external/vulkancts/modules/vulkan/renderpass/
vktRenderPassUnusedAttachmentTests.cpp 73 tcu::Vec4 position;
74 tcu::Vec4 color;
82 const tcu::Vec4 color (0.2f, 0.3f, 0.1f, 1.0f);
83 const Vertex4RGBA lowerLeftVertex = {tcu::Vec4(-size, -size, 0.0f, 1.0f), color};
84 const Vertex4RGBA lowerRightVertex = {tcu::Vec4(size, -size, 0.0f, 1.0f), color};
85 const Vertex4RGBA upperLeftVertex = {tcu::Vec4(-size, size, 0.0f, 1.0f), color};
86 const Vertex4RGBA upperRightVertex = {tcu::Vec4(size, size, 0.0f, 1.0f), color};
321 "layout(location = 0) in highp vec4 position;\n"
322 "layout(location = 1) in highp vec4 color;\n"
323 "layout(location = 0) out highp vec4 vtxColor;\n
    [all...]
  /external/deqp/modules/gles3/functional/
es3fTextureShadowTests.cpp 242 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), tcu::Vec4(-0.5f, -0.5f, -0.5f, 2.0f), tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f));
489 tcu::Vec4 cBias = fmtInfo.valueMin;
490 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin;
497 static const tcu::Vec4 gradients[tcu::CUBEFACE_LAST][2] =
499 { tcu::Vec4(-1.0f, -1.0f, -1.0f, 2.0f), tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f) }, // negative x
500 { tcu::Vec4( 0.0f, -1.0f, -1.0f, 2.0f), tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f) }, // positive x
501 { tcu::Vec4(-1.0f, 0.0f, -1.0f, 2.0f), tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f) }, // negative
    [all...]
es3fTextureFilteringTests.cpp 195 const tcu::Vec4 cBias = fmtInfo.valueMin;
196 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin;
201 tcu::Vec4 gMin = tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias;
202 tcu::Vec4 gMax = tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias;
475 tcu::Vec4 cBias = fmtInfo.valueMin;
476 tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin;
479 static const tcu::Vec4 gradients[tcu::CUBEFACE_LAST][2] =
481 { tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f) }, // negative
    [all...]
es3fFragmentOutputTests.cpp 63 using tcu::Vec4;
175 << "in highp vec4 a_position;\n";
379 static inline Vec4 readVec4 (const float* ptr, int numComponents)
382 return Vec4(ptr[0],
411 const Vec4 v00 = readVec4(vertices + ((cellY+0)*gridWidth + cellX+0)*numComponents, numComponents);
412 const Vec4 v01 = readVec4(vertices + ((cellY+1)*gridWidth + cellX+0)*numComponents, numComponents);
413 const Vec4 v10 = readVec4(vertices + ((cellY+0)*gridWidth + cellX+1)*numComponents, numComponents);
414 const Vec4 v11 = readVec4(vertices + ((cellY+1)*gridWidth + cellX+1)*numComponents, numComponents);
416 const Vec4& v0 = tri ? v11 : v00;
417 const Vec4& v1 = tri ? v01 : v10
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/texture/
vktTextureFilteringTests.cpp 119 const tcu::Vec4 cBias = fmtInfo.valueMin;
120 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin;
138 const tcu::Vec4 gMin = tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias;
139 const tcu::Vec4 gMax = tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f)*cScale + cBias;
318 const tcu::Vec4 cBias = fmtInfo.valueMin;
319 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin;
331 static const tcu::Vec4 gradients[tcu::CUBEFACE_LAST][2] =
333 { tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f), tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f) }, // negative
    [all...]
  /device/google/contexthub/firmware/os/algos/common/math/
kasa.c 90 struct Vec4 b;
96 struct Vec4 out;
  /external/deqp/external/vulkancts/framework/vulkan/
vkCmdUtil.cpp 88 const tcu::Vec4& clearColor,
135 const tcu::Vec4& clearColor,
  /external/deqp/external/vulkancts/modules/vulkan/util/
vktDrawUtil.hpp 65 const std::vector<tcu::Vec4>& vertices;
67 DrawCallData (const std::vector<tcu::Vec4>& vertices_)
  /external/deqp/external/vulkancts/modules/vulkan/ycbcr/
vktYCbCrViewTests.cpp 60 using tcu::Vec4;
621 vector<Vec4> resultWhole (numValues);
622 vector<Vec4> resultPlane (numValues);
623 vector<Vec4> referenceWhole (numValues);
624 vector<Vec4> referencePlane (numValues);
626 Vec4 threshold (0.02f);
678 const vector<Vec4>& reference = (viewNdx == 0) ? referenceWhole : referencePlane;
679 const vector<Vec4>& result = (viewNdx == 0) ? resultWhole : resultPlane;
  /external/deqp/modules/egl/
teglAndroidUtil.cpp 151 tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f),
152 tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f));
teglNativeCoordMappingTests.cpp 95 "\tgl_Position = vec4(a_pos, 0.0, 1.0);\n"
101 "\tgl_FragColor = vec4(1.0);\n"
212 void clear (const glw::Functions& gl, const tcu::Vec4& color, int x, int y, int width, int height)
255 bool compareColor (const tcu::Vec4& a, const tcu::Vec4& b)
264 const tcu::Vec4 black (0.0f, 0.0f, 0.0f, 1.0f);
265 const tcu::Vec4 white (1.0f, 1.0f, 1.0f, 1.0f);
273 const tcu::Vec4 resultColor = result.getAccess().getPixel(x, y);
386 clear(gl, tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f), 0, 0, surfaceSize.x(), surfaceSize.y());
391 clear(gl, tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), rectX, rectY, rectW, rectH)
    [all...]
teglRenderTests.cpp 68 using tcu::Vec4;
75 static const tcu::Vec4 CLEAR_COLOR = tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f);
120 vector<Vec4> positions;
121 vector<Vec4> colors;
128 static bool isANarrowScreenSpaceTriangle (const tcu::Vec4& p0, const tcu::Vec4& p1, const tcu::Vec4& p2)
180 tcu::Vec4& position = drawOp.positions[triNdx*3 + coordNdx];
181 tcu::Vec4& color = drawOp.colors[triNdx*3 + coordNdx]
    [all...]
  /external/deqp/modules/gles3/performance/
es3pShaderOperatorTests.cpp 56 using tcu::Vec4;
216 AttribSpec (const char* name_, const tcu::Vec4& p00_, const tcu::Vec4& p01_, const tcu::Vec4& p10_, const tcu::Vec4& p11_)
228 tcu::Vec4 p00; //!< Bottom left.
229 tcu::Vec4 p01; //!< Bottom right.
230 tcu::Vec4 p10; //!< Top left.
231 tcu::Vec4 p11; //!< Top right.
334 static inline float triQuadInterpolate (float x, float y, const tcu::Vec4& quad
    [all...]
  /external/deqp/modules/gles2/stress/
es2sSpecialFloatTests.cpp 83 static const char* const s_colorPassthroughFragmentShaderSource = "varying mediump vec4 v_out;\n"
88 static const char* const s_attrPassthroughVertexShaderSource = "attribute highp vec4 a_pos;\n"
89 "attribute highp vec4 a_attr;\n"
90 "varying mediump vec4 v_attr;\n"
220 static const tcu::Vec4 fullscreenQuad[4] =
222 tcu::Vec4(-1.0f, -1.0f, 0.0f, 1.0f),
223 tcu::Vec4(-1.0f, 1.0f, 0.0f, 1.0f),
224 tcu::Vec4( 1.0f, -1.0f, 0.0f, 1.0f),
225 tcu::Vec4( 1.0f, 1.0f, 0.0f, 1.0f),
227 const char* const vertexSource = "attribute highp vec4 a_pos;\n
    [all...]
  /external/deqp/external/openglcts/modules/gl/
gl4cShaderAtomicCounterOpsTests.hpp 284 bool validateColor(tcu::Vec4 testedColor, tcu::Vec4 desiredColor);
285 bool validateScreenPixels(tcu::Vec4 desiredColor, tcu::Vec4 ignoredColor);
  /external/deqp/external/vulkancts/modules/vulkan/api/
vktApiComputeInstanceResultBuffer.cpp 46 void ComputeInstanceResultBuffer::readResultContentsTo(tcu::Vec4 (*results)[4]) const
  /external/deqp/framework/randomshaders/
rsgShaderGenerator.cpp 209 valueRange.getMin() = tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f);
210 valueRange.getMax() = tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f);
259 valueRange.getMin() = tcu::Vec4(-1.0f, -1.0f, 0.0f, 1.0f);
260 valueRange.getMax() = tcu::Vec4( 1.0f, 1.0f, 0.0f, 1.0f);
  /external/deqp/modules/gles3/scripts/
gen-large-constant-arrays.py 28 DATA_TYPES = ["float", "vec4"]
81 if dataType == "vec4":
82 elements.append(Vec4(*[round(random.uniform(-1.0, 1.0), 6) for x in range(4)]))
  /external/deqp/modules/gles31/functional/
es31fFboColorbufferTests.cpp 54 using tcu::Vec4;
64 static tcu::Vec4 generateRandomColor (de::Random& random)
66 tcu::Vec4 retVal;
214 tcu::fillWithGrid(data.getAccess(), 8, generateRandomColor(rnd), Vec4(0.0f));
  /external/deqp/modules/glshared/
glsLongStressCase.hpp 146 tcu::Vec4 minValue;
147 tcu::Vec4 maxValue;
161 const tcu::Vec4& minValue_,
162 const tcu::Vec4& maxValue_)
  /external/deqp/external/vulkancts/modules/vulkan/pipeline/
vktPipelineMultisampleShaderBuiltInTests.cpp 43 VertexDataNdc (const tcu::Vec4& posNdc) : positionNdc(posNdc) {}
45 tcu::Vec4 positionNdc;
74 vertices.push_back(VertexDataNdc(tcu::Vec4(-1.0f, -1.0f, 0.0f, 1.0f)));
75 vertices.push_back(VertexDataNdc(tcu::Vec4( 1.0f, -1.0f, 0.0f, 1.0f)));
76 vertices.push_back(VertexDataNdc(tcu::Vec4(-1.0f, 1.0f, 0.0f, 1.0f)));
77 vertices.push_back(VertexDataNdc(tcu::Vec4( 1.0f, 1.0f, 0.0f, 1.0f)));
84 VertexDataNdcScreen (const tcu::Vec4& posNdc, const tcu::Vec2& posScreen) : positionNdc(posNdc), positionScreen(posScreen) {}
86 tcu::Vec4 positionNdc;
126 vertices.push_back(VertexDataNdcScreen(tcu::Vec4(-1.0f, -1.0f, 0.0f, 1.0f), tcu::Vec2(0.0f, 0.0f)));
127 vertices.push_back(VertexDataNdcScreen(tcu::Vec4( 1.0f, -1.0f, 0.0f, 1.0f), tcu::Vec2(screenSize.x(), 0.0f)))
    [all...]
vktPipelineMultisampleImageTests.cpp 59 using tcu::Vec4;
116 sizeof(Vec4), // uint32_t offset;
528 inline Vec4 getPrimitiveColor (void)
530 return Vec4(1.0f, 0.0f, 0.0f, 1.0f);
567 str << (isUint ? "u" : isSint ? "i" : "") << "vec4(";
600 const Vec4 color = getPrimitiveColor();
615 Vec4(-1.0f, 0.0f, 0.0f, 1.0f),
619 Vec4(0.8f, 0.2f, 0.0f, 1.0f),
623 Vec4(0.8f, -0.2f, 0.0f, 1.0f),
636 Vec4(-1.0f, -1.0f, 0.0f, 1.0f)
    [all...]
  /external/deqp/framework/common/
tcuTexCompareVerifier.cpp 151 static float bilinearInterpolate (const Vec4& values, const float x, const float y)
259 const Vec4& depths,
289 const Vec4& depths,
342 const Vec4 refVal = select(Vec4(1.0f), Vec4(0.0f), cmpTrue);
362 const Vec4& depths,
377 const Vec4& depths0,
378 const Vec4& depths1,
422 const Vec4& depths0
    [all...]
  /external/deqp/modules/gles2/performance/
es2pShaderOperatorTests.cpp 56 using tcu::Vec4;
216 AttribSpec (const char* name_, const tcu::Vec4& p00_, const tcu::Vec4& p01_, const tcu::Vec4& p10_, const tcu::Vec4& p11_)
228 tcu::Vec4 p00; //!< Bottom left.
229 tcu::Vec4 p01; //!< Bottom right.
230 tcu::Vec4 p10; //!< Top left.
231 tcu::Vec4 p11; //!< Top right.
334 static inline float triQuadInterpolate (float x, float y, const tcu::Vec4& quad
    [all...]
  /external/deqp/framework/opengl/simplereference/
sglrReferenceContext.hpp 159 tcu::Vec4 sample (float s, float lod) const;
160 void sample4 (tcu::Vec4 output[4], const float packetTexcoords[4], float lodBias = 0.0f) const;
185 tcu::Vec4 sample (float s, float t, float lod) const;
186 void sample4 (tcu::Vec4 output[4], const tcu::Vec2 packetTexcoords[4], float lodBias = 0.0f) const;
210 tcu::Vec4 sample (float s, float t, float p, float lod) const;
211 void sample4 (tcu::Vec4 output[4], const tcu::Vec3 packetTexcoords[4], float lodBias = 0.0f) const;
236 tcu::Vec4 sample (float s, float t, float r, float lod) const;
237 void sample4 (tcu::Vec4 output[4], const tcu::Vec3 packetTexcoords[4], float lodBias = 0.0f) const;
262 tcu::Vec4 sample (float s, float t, float r, float lod) const;
263 void sample4 (tcu::Vec4 output[4], const tcu::Vec3 packetTexcoords[4], float lodBias = 0.0f) const
    [all...]

Completed in 1583 milliseconds

<<11121314151617181920>>