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

<<11121314151617181920>>

  /external/deqp/external/vulkancts/modules/vulkan/synchronization/
vktSynchronizationSmokeTests.cpp 73 "layout (location = 0) in vec4 vertexPosition;\n"
83 "layout (location = 0) out vec4 outputColor;\n"
86 " outputColor = vec4(1.0, 0.0, 0.0, 1.0);\n"
463 beginRenderPass(deviceInterface, renderInfo.commandBuffer, renderInfo.renderPass, renderInfo.framebuffer, makeRect2D(0, 0, renderInfo.width, renderInfo.height), tcu::Vec4(0.0f, 0.0f, 1.0f, 1.0f));
542 const tcu::Vec4* vertices;
674 bufferParameters.size = testContext.numVertices * sizeof(tcu::Vec4);
725 vertexDesc.stride = sizeof(tcu::Vec4);
    [all...]
  /external/deqp/modules/gles2/accuracy/
es2aTextureMipmapTests.cpp 55 using tcu::Vec4;
310 static const Vec4 s_projections[] =
312 Vec4(1.2f, 1.0f, 0.7f, 1.0f),
313 Vec4(1.3f, 0.8f, 0.6f, 2.0f),
314 Vec4(0.8f, 1.0f, 1.7f, 0.6f),
315 Vec4(1.2f, 1.0f, 1.7f, 1.5f)
579 static const Vec4 s_projections[] =
581 Vec4(1.2f, 1.0f, 0.7f, 1.0f),
582 Vec4(1.3f, 0.8f, 0.6f, 1.1f),
583 Vec4(0.8f, 1.0f, 1.2f, 0.8f)
    [all...]
  /external/deqp/modules/gles3/accuracy/
es3aTextureMipmapTests.cpp 52 using tcu::Vec4;
302 static const Vec4 s_projections[] =
304 Vec4(1.2f, 1.0f, 0.7f, 1.0f),
305 Vec4(1.3f, 0.8f, 0.6f, 2.0f),
306 Vec4(0.8f, 1.0f, 1.7f, 0.6f),
307 Vec4(1.2f, 1.0f, 1.7f, 1.5f)
567 static const Vec4 s_projections[] =
569 Vec4(1.2f, 1.0f, 0.7f, 1.0f),
570 Vec4(1.3f, 0.8f, 0.6f, 1.1f),
571 Vec4(0.8f, 1.0f, 1.2f, 0.8f)
    [all...]
  /external/deqp/modules/gles31/functional/
es31fDrawTests.cpp 59 "in highp vec4 a_position;\n"
65 "layout(location = 0) out highp vec4 fragColor;\n"
68 " fragColor = vec4(1.0, 0.0, 0.0, 1.0);\n"
72 "in highp vec4 a_position;\n"
73 "in highp vec4 a_color;\n"
74 "out highp vec4 v_color;\n"
81 "layout(location = 0) out highp vec4 fragColor;\n"
82 "in highp vec4 v_color;\n"
723 "in highp vec4 a_position;\n"
724 "in highp vec4 a_offset;\n
    [all...]
es31fShaderPackingFunctionTests.cpp 762 std::vector<tcu::Vec4> inputs;
769 inputs.push_back(tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f));
770 inputs.push_back(tcu::Vec4(-1.0f, 1.0f, -1.0f, 1.0f));
771 inputs.push_back(tcu::Vec4(0.5f, -0.5f, -0.5f, 0.5f));
772 inputs.push_back(tcu::Vec4(-1.5f, 1.5f, -1.5f, 1.5f));
773 inputs.push_back(tcu::Vec4(0.25f, -0.75f, -0.25f, 0.75f));
782 inputs.push_back(tcu::Vec4(x, y, z, w));
792 inputs.push_back(tcu::Vec4(x, y, z, w));
877 std::vector<tcu::Vec4> outputs;
933 << "vec4(" << HexFloat(ref0) << ", " << HexFloat(ref1) << ", " << HexFloat(ref2) << ", " << HexFloat(ref3) (…)
    [all...]
es31fMultisampleShaderRenderCase.cpp 50 "in highp vec4 a_position;\n"
51 "out highp vec4 v_position;\n"
155 static const tcu::Vec4 fullscreenQuad[] =
157 tcu::Vec4( 1.0f, -1.0f, 0.0f, 1.0f),
158 tcu::Vec4( 1.0f, 1.0f, 0.0f, 1.0f),
159 tcu::Vec4(-1.0f, -1.0f, 0.0f, 1.0f),
160 tcu::Vec4(-1.0f, 1.0f, 0.0f, 1.0f),
703 "in mediump vec4 v_position;\n"
704 "layout(location = 0) out mediump vec4 fragColor;\n"
710 " mediump vec4 colorSum = vec4(0.0, 0.0, 0.0, 0.0);\n
    [all...]
es31fTextureFilteringTests.cpp 212 const tcu::Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin;
213 const tcu::Vec4 cBias = fmtInfo.valueMin;
239 const tcu::Vec4 gMin = tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f).swizzle(swz[0],swz[1],swz[2],swz[3])*cScale + cBias;
240 const tcu::Vec4 gMax = tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f).swizzle(swz[0],swz[1],swz[2],swz[3])*cScale + cBias;
  /external/deqp/external/openglcts/modules/gl/
gl4cShaderAtomicCounterOpsTests.cpp 51 "out highp vec4 vsColor;\n"
54 " gl_Position = vec4(inPosition, 0.0, 1.0);\n"
56 " vec4 outColor = vec4(1.0);\n"
63 "in highp vec4 gsColor;\n"
64 "out highp vec4 fsColor;\n"
67 " vec4 outColor = gsColor; \n"
75 "in highp vec4 vsColor[];\n"
78 "out highp vec4 tcsColor[];\n"
82 " vec4 outColor = vsColor[gl_InvocationID];\n
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/api/
vktApiBufferViewAccessTests.cpp 111 std::vector<tcu::Vec4> m_vertices;
134 tcu::Vec4 a(-1.0, -1.0, 0.0, 1.0);
135 tcu::Vec4 b(1.0, -1.0, 0.0, 1.0);
136 tcu::Vec4 c(1.0, 1.0, 0.0, 1.0);
137 tcu::Vec4 d(-1.0, 1.0, 0.0, 1.0);
375 const VkDeviceSize vertexDataSize = m_vertices.size() * sizeof(tcu::Vec4);
415 beginRenderPass(vk, *m_cmdBuffer, *m_renderPass, *m_framebuffer, makeRect2D(0, 0, m_renderSize.x(), m_renderSize.y()), tcu::Vec4(0.0f));
509 "layout (location = 0) in highp vec4 a_position;\n"
  /external/deqp/external/vulkancts/modules/vulkan/texture/
vktSampleVerifierUtil.cpp 247 void calcUnnormalizedCoordRange (const Vec4& coord,
775 Vec4& resultMin,
776 Vec4& resultMax)
889 Vec4& resultMin,
890 Vec4& resultMax)
930 Vec4& resultMin,
931 Vec4& resultMax)
  /external/deqp/modules/gles3/functional/
es3fRasterizerDiscardTests.cpp 38 using tcu::Vec4;
49 static const Vec4 FAIL_COLOR_RED = Vec4(1.0f, 0.0f, 0.0f, 1.0f);
50 static const Vec4 PASS_COLOR_BLUE = Vec4(0.0f, 0.0f, 0.5f, 1.0f);
51 static const Vec4 BLACK_COLOR = Vec4(0.0f, 0.0f, 0.0f, 1.0f);
207 "layout(location = 0) in mediump vec4 a_position;\n"
216 "layout(location = 0) out mediump vec4 dEQP_FragColor;\n"
217 "uniform mediump vec4 u_color;\n
    [all...]
es3fOcclusionQueryTests.cpp 44 static const tcu::Vec4 DEPTH_WRITE_COLOR = tcu::Vec4(0.0f, 0.0f, 1.0f, 1.0f);
45 static const tcu::Vec4 DEPTH_CLEAR_COLOR = tcu::Vec4(0.0f, 0.5f, 0.8f, 1.0f);
46 static const tcu::Vec4 STENCIL_WRITE_COLOR = tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f);
47 static const tcu::Vec4 STENCIL_CLEAR_COLOR = tcu::Vec4(0.0f, 0.8f, 0.5f, 1.0f);
48 static const tcu::Vec4 TARGET_COLOR = tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f)
    [all...]
es3fFboTestCase.cpp 127 void FboTestCase::readPixels (tcu::Surface& dst, int x, int y, int width, int height, const tcu::TextureFormat& format, const tcu::Vec4& scale, const tcu::Vec4& bias)
369 void FboTestCase::clearColorBuffer (const tcu::TextureFormat& format, const tcu::Vec4& value)
  /external/deqp/modules/gles2/functional/
es2fTextureUnitTests.cpp 46 using tcu::Vec4;
167 " mediump vec4 color = vec4(0.0);\n" +
191 decl << sglr::pdec::VertexSource("attribute highp vec4 a_position;\n"
206 static Vec4 calculateLodDerivateParts(const Mat3& transformation)
213 return Vec4(trans10.x() - trans00.x(),
220 static float calculateLodMax(const Vec4& derivateParts, const tcu::IVec2& textureSize, const Vec2& screenDerivate)
231 static float calculateLodMin(const Vec4& derivateParts, const tcu::IVec2& textureSize, const Vec2& screenDerivate)
256 vector<Vec4> m_lodDerivateParts; // Parts of lod derivates; computed in init(), used in eval().
474 Vec4 outColors[4] = { Vec4(0.0f), Vec4(0.0f), Vec4(0.0f), Vec4(0.0f) }
    [all...]
es2fReadPixelsTests.cpp 84 "\tgl_Position = vec4(a_coord, 0.0, 1.0);\n"
90 "\tgl_FragColor = vec4(0.0, 0.0, 0.0, 1.0);\n"
139 reference.getLevel(0).setPixel(tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f), x, y);
202 tcu::clear(reference.getLevel(0), tcu::Vec4(red, green, blue, alpha));
247 if (tcu::floatThresholdCompare(m_testCtx.getLog(), "Result", "Result", reference.getLevel(0), tcu::PixelBufferAccess(format, width, height, 1, rowPitch, 0, &(pixelData[0])), tcu::Vec4(redThreshold, greenThreshold, blueThreshold, alphaThreshold), tcu::COMPARE_LOG_RESULT))
  /external/deqp/external/vulkancts/modules/vulkan/pipeline/
vktPipelineRenderToImageTests.cpp 62 using tcu::Vec4;
95 static const Vec4 COLOR_TABLE[] =
97 Vec4(0.9f, 0.0f, 0.0f, 1.0f),
98 Vec4(0.6f, 1.0f, 0.0f, 1.0f),
99 Vec4(0.3f, 0.0f, 1.0f, 1.0f),
100 Vec4(0.1f, 1.0f, 1.0f, 1.0f),
101 Vec4(0.8f, 1.0f, 0.0f, 1.0f),
102 Vec4(0.5f, 0.0f, 1.0f, 1.0f),
103 Vec4(0.2f, 0.0f, 0.0f, 1.0f),
104 Vec4(1.0f, 1.0f, 0.0f, 1.0f)
    [all...]
vktPipelineSamplerTests.cpp 64 tcu::Vec4 swizzle (tcu::Vec4 inputData, VkComponentMapping componentMapping, float zeroOrOneValue) const;
222 tcu::Vec4 SamplerTest::swizzle (tcu::Vec4 inputData, VkComponentMapping componentMapping, float zeroOrOneValue) const
246 return tcu::Vec4(channelValues[nonIdentityMapping.r],
259 tcu::Vec4 lookupScale;
260 tcu::Vec4 lookupBias;
264 tcu::Vec4 swizzledScale = swizzle(lookupScale, getComponentMapping(), 1.0f);
265 tcu::Vec4 swizzledBias = swizzle(lookupBias, getComponentMapping(), 0.0f);
290 << "layout(location = 0) in vec4 position;\n
    [all...]
vktPipelineStencilExportTests.cpp 63 using tcu::Vec4;
92 << " gl_Position = vec4(positions[gl_VertexIndex], 0.0, 1.0);\n"
116 << "layout(location = 0) out highp vec4 fragColor;\n"
120 << " fragColor = vec4(0, 0, 1, 1);\n"
464 const Vec4& clearColor,
465 const Vec4& color)
498 const Vec4 clearColor (0.5f, 0.5f, 0.5f, 1.0f);
570 tcu::TextureLevel referenceImage = generateReferenceImage(mapVkFormat(colorFormat), renderSize, 1 << 4, clearColor, Vec4(0, 0, 1, 1));
572 if (!tcu::floatThresholdCompare(context.getTestContext().getLog(), "color", "Image compare", referenceImage.getAccess(), resultImage, Vec4(0.02f), tcu::COMPARE_LOG_RESULT))
vktPipelineMultisampleTests.cpp 578 const tcu::Vec4 m_renderColor;
598 "layout(location = 0) in vec4 position;\n"
599 "layout(location = 1) in vec4 color;\n"
600 "layout(location = 0) out highp vec4 vtxColor;\n"
610 "layout(location = 0) in highp vec4 vtxColor;\n"
611 "layout(location = 0) out highp vec4 fragColor;\n"
629 "layout(location = 0) in vec4 position;\n"
630 "layout(location = 1) in vec4 color;\n"
639 "layout(location = 0) out highp vec4 fragColor;\n"
642 " fragColor = vec4(fract(gl_FragCoord.xy), 0.0, 1.0);\n
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/protected_memory/
vktProtectedMemYCbCrConversionTests.cpp 58 tcu::Vec4 coord;
59 tcu::Vec4 minBound;
60 tcu::Vec4 maxBound;
470 void logBoundImages (tcu::TestLog& log, const tcu::UVec2 size, const std::vector<tcu::Vec4>& minBounds, const std::vector<tcu::Vec4>& maxBounds)
483 const tcu::Vec4 scale (1.0f);
484 const tcu::Vec4 bias (0.0f);
615 " highp vec4 imageCoord;\n"
616 " highp vec4 imageRefMinBound;\n"
617 " highp vec4 imageRefMaxBound;\n
    [all...]
  /external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
clip.h 65 void ComputeClipCodes(const API_STATE &state, const typename SIMD_T::Vec4 &vertex, typename SIMD_T::Float &clipCodes, typename SIMD_T::Integer const &viewportIndexes)
181 void BinFunc(DRAW_CONTEXT *pDC, PA_STATE &pa, uint32_t workerId, SIMD256::Vec4 prims[], uint32_t primMask, SIMD256::Integer const &primID, SIMD256::Integer &viewportIdx, SIMD256::Integer &rtIdx)
234 void BinFunc(DRAW_CONTEXT *pDC, PA_STATE &pa, uint32_t workerId, SIMD512::Vec4 prims[], uint32_t primMask, SIMD512::Integer const &primID, SIMD512::Integer &viewportIdx, SIMD512::Integer &rtIdx)
314 void ComputeClipCodes(typename SIMD_T::Vec4 vertex[], const typename SIMD_T::Integer &viewportIndexes)
356 int ComputeNaNMask(typename SIMD_T::Vec4 prim[])
372 int ComputeUserClipCullMask(PA_STATE &pa, typename SIMD_T::Vec4 prim[])
379 typename SIMD_T::Vec4 vClipCullDistLo[3];
380 typename SIMD_T::Vec4 vClipCullDistHi[3];
440 void ClipSimd(const typename SIMD_T::Vec4 prim[], const typename SIMD_T::Float &vPrimMask, const typename SIMD_T::Float &vClipMask, PA_STATE &pa,
455 typename SIMD_T::Vec4 tmpVector[NumVertsPerPrim]
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/ycbcr/
vktYCbCrImageQueryTests.cpp 61 using tcu::Vec4;
587 static vector<Vec4> getVertices (void)
589 vector<Vec4> vertices;
591 vertices.push_back(Vec4(-1.0f, -1.0f, 0.0f, 1.0f));
592 vertices.push_back(Vec4(+1.0f, -1.0f, 0.0f, 1.0f));
593 vertices.push_back(Vec4(-1.0f, +1.0f, 0.0f, 1.0f));
595 vertices.push_back(Vec4(+1.0f, -1.0f, 0.0f, 1.0f));
596 vertices.push_back(Vec4(-1.0f, +1.0f, 0.0f, 1.0f));
597 vertices.push_back(Vec4(+1.0f, +1.0f, 0.0f, 1.0f));
617 const vector<Vec4> vertices (LocalUtil::getVertices())
    [all...]
  /external/deqp/modules/glshared/
glsBufferTestUtil.cpp 436 " gl_Position = vec4(a_position, 0.0, 1.0);\n"
442 "layout(location = 0) out mediump vec4 o_color;\n"
445 " o_color = vec4(v_byteVec, 1.0);\n"
523 static inline tcu::Vec4 fetchVtxColor (const deUint8* ptr, int vtxNdx)
533 using tcu::Vec4;
544 Vec4 v00 = fetchVtxColor(inPtr, quadNdx*4 + 0);
545 Vec4 v10 = fetchVtxColor(inPtr, quadNdx*4 + 1);
546 Vec4 v01 = fetchVtxColor(inPtr, quadNdx*4 + 2);
547 Vec4 v11 = fetchVtxColor(inPtr, quadNdx*4 + 3);
558 const Vec4& t0 = tri ? v00 : v11
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/device_group/
vktDeviceGroupRendering.cpp 119 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, tcu::Vec4(1.0f, 1.0f, 0.0f, 1.0f));
125 void renderReferenceTriangle (const tcu::PixelBufferAccess& dst, const tcu::Vec4(&vertices)[3])
136 rr::VertexAttrib(rr::VERTEXATTRIBTYPE_FLOAT, 4, sizeof(tcu::Vec4), 0, vertices[0].getPtr())
369 const tcu::Vec4 clearColor (0.125f, 0.25f, 0.75f, 1.0f);
370 const tcu::Vec4 drawColor (1.0f, 1.0f, 0.0f, 1.0f);
374 const tcu::Vec4 sphereVertices[] =
376 tcu::Vec4(0.0f, 0.0f, 1.0f, 1.0f),
377 tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f),
378 tcu::Vec4(1.0f, 0.0f, 0.0f, 1.0f),
379 tcu::Vec4(0.0f, 0.0f, -1.0f, 1.0f)
    [all...]
  /external/deqp/modules/gles3/stress/
es3sSpecialFloatTests.cpp 84 "layout(location = 0) out mediump vec4 fragColor;\n"
85 "in mediump vec4 v_out;\n"
91 "in highp vec4 a_pos;\n"
92 "in highp vec4 a_attr;\n"
93 "out highp vec4 v_attr;\n"
223 static const tcu::Vec4 fullscreenQuad[4] =
225 tcu::Vec4(-1.0f, -1.0f, 0.0f, 1.0f),
226 tcu::Vec4(-1.0f, 1.0f, 0.0f, 1.0f),
227 tcu::Vec4( 1.0f, -1.0f, 0.0f, 1.0f),
228 tcu::Vec4( 1.0f, 1.0f, 0.0f, 1.0f)
    [all...]

Completed in 1137 milliseconds

<<11121314151617181920>>