/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineImageSamplingInstance.cpp | [all...] |
vktPipelineMultisampleInterpolationTests.cpp | 50 VertexDataNdcScreen (const tcu::Vec4& posNdc, const tcu::Vec2& posScreen) : positionNdc(posNdc), positionScreen(posScreen) {} 53 tcu::Vec2 positionScreen; 340 vertices.push_back(VertexDataNdcScreen(tcu::Vec4(-1.0f, -1.0f, 0.0f, 1.0f), tcu::Vec2(0.0f, 0.0f))); 341 vertices.push_back(VertexDataNdcScreen(tcu::Vec4( 1.0f, -1.0f, 0.0f, 1.0f), tcu::Vec2(screenSizeX, 0.0f))); 342 vertices.push_back(VertexDataNdcScreen(tcu::Vec4(-1.0f, 1.0f, 0.0f, 1.0f), tcu::Vec2(0.0f, screenSizeY))); 343 vertices.push_back(VertexDataNdcScreen(tcu::Vec4( 1.0f, 1.0f, 0.0f, 1.0f), tcu::Vec2(screenSizeX, screenSizeY))); 377 << "layout(location = 1) in vec2 vs_in_position_screen;\n" 379 << "layout(location = 0) out vec2 vs_out_position_screen;\n" 396 << "layout(location = 0) in vec2 fs_in_position_screen;\n" 403 << " const vec2 position_screen_at_sample = interpolateAtSample(fs_in_position_screen, 0);\n [all...] |
vktPipelineMultisampleSampleLocationsExtTests.cpp | 67 using tcu::Vec2; 313 log << tcu::TestLog::Message << "* Sample(" << sampleNdx <<") = " << Vec2(loc.x, loc.y) << tcu::TestLog::EndMessage; 526 std::vector<Vec2> genFramebufferSampleLocations (const MultisamplePixelGrid& pixelGrid, const UVec2& gridSize, const UVec2& framebufferSize) 528 std::vector<Vec2> locations; 539 locations.push_back(Vec2(-1.0f + 2.0f * (globalX / static_cast<float>(framebufferSize.x())), [all...] |
/external/deqp/external/openglcts/modules/gles31/ |
es31cTextureGatherTests.cpp | 41 using tcu::Vec2; 298 return " textureGather(tex_2d,vec2(1)); \n" 302 " textureGather(tex_2ds,vec2(1), 0.5); \n" 306 " textureGatherOffset(tex_2d,vec2(1), ivec2(0)); \n" 309 " textureGatherOffset(tex_2ds,vec2(1), 0.5, ivec2(0)); \n" 418 std::vector<Vec2> pixels(size * size, Vec2(1.0)); 422 Vec2 data[4] = { Vec2(12. / 16, 13. / 16), Vec2(8. / 16, 9. / 16), Vec2(0. / 16, 1. / 16) [all...] |
/external/deqp/modules/gles3/performance/ |
es3pDepthTests.cpp | 65 using tcu::Vec2; 342 " d *= texture(u_texture, (gl_FragCoord.xy+vec2(i))/512.0).r;\n" // Texture is expected to be fully white 747 vector<Vec2> testSamples (samples.size()); 753 testSamples[ndx] = Vec2((float)sample.workload, (float)sample.testTime); 1051 vector<Vec2> nullSamples (samples.size()); 1052 vector<Vec2> baseSamples (samples.size()); 1053 vector<Vec2> testSamples (samples.size()); 1059 nullSamples[ndx] = Vec2((float)sample.workload, (float)sample.nullTime); 1060 baseSamples[ndx] = Vec2((float)sample.workload, (float)sample.baseTime); 1061 testSamples[ndx] = Vec2((float)sample.workload, (float)sample.testTime) [all...] |
/external/deqp/modules/glshared/ |
glsLongStressCase.cpp | 55 using tcu::Vec2; 140 static inline float triangleArea (const Vec2& a, const Vec2& b, const Vec2& c) 142 const Vec2 ab = b-a; 143 const Vec2 ac = c-a; 340 "attribute highp vec2 a_pos;\n" [all...] |
glsShaderRenderCase.hpp | 167 tcu::Vec4 texture2D (int unitNdx, const tcu::Vec2& coords);
|
/external/deqp/modules/gles2/functional/ |
es2fRandomFragmentOpTests.cpp | 56 using tcu::Vec2; 142 translated.posA = Vec2(flipX ? 1.0f : -1.0f, flipY ? 1.0f : -1.0f); 143 translated.posB = Vec2(flipX ? -1.0f : 1.0f, flipY ? -1.0f : 1.0f);
|
es2fShaderOperatorTests.cpp | 161 // Reference for expression "in0 && in1, in0, ivec2(vec2(in0) + in2)" 162 inline IVec2 sequenceNoSideEffCase2 (bool in0, bool in1, const Vec2& in2) { DE_UNREF(in1); return IVec2((int)((float)in0 + in2.x()), (int)((float)in0 + in2.y())); } 169 // Reference for expression "in1 = in0, in2++, in2 = in2 + vec2(in1), ivec2(in2)" 170 inline IVec2 sequenceSideEffCase2 (bool in0, bool in1, const Vec2& in2) { DE_UNREF(in1); return (in2 + Vec2(1.0f) + Vec2((float)in0)).asInt(); } 654 void eval_##FUNC_NAME##_bvec2 (ShaderEvalContext& c) { c.color.yz() = FUNC_NAME(greaterThan(c.in[0].swizzle(3, 1), Vec2(0.0f))).asFloat(); } \ 660 void eval_##FUNC_NAME##_bvec2 (ShaderEvalContext& c) { c.color.yz() = FUNC_NAME(greaterThan(c.in[0].swizzle(3, 1), Vec2(0.0f)), greaterThan(c.in[1].swizzle(1, 0), Vec2(0.0f)), greaterThan(c.in[2].swizzle(2, 1), Vec2(0.0f))).asFloat(); } [all...] |
es2fTextureFormatTests.cpp | 160 computeQuadTexCoord2D(texCoord, tcu::Vec2(0.0f, 0.0f), tcu::Vec2(1.0f, 1.0f)); 458 computeQuadTexCoord2D(texCoord, tcu::Vec2(0.0f, 0.0f), tcu::Vec2(1.0f, 1.0f));
|
/external/deqp/modules/gles3/functional/ |
es3fASTCDecompressionCases.cpp | 67 using tcu::Vec2; 336 computeQuadTexCoord2D(texCoord, Vec2(0.0f, 0.0f), Vec2(1.0f, 1.0f));
|
es3fRandomFragmentOpTests.cpp | 56 using tcu::Vec2; 142 translated.posA = Vec2(flipX ? 1.0f : -1.0f, flipY ? 1.0f : -1.0f); 143 translated.posB = Vec2(flipX ? -1.0f : 1.0f, flipY ? -1.0f : 1.0f);
|
es3fRasterizationTests.cpp | [all...] |
es3fTextureSwizzleTests.cpp | 162 computeQuadTexCoord2D(texCoord, tcu::Vec2(0.0f, 0.0f), tcu::Vec2(1.0f, 1.0f));
|
es3fFragmentOutputTests.cpp | 61 using tcu::Vec2; 339 static Vec2 getFloatRange (glu::Precision precision) 342 static const Vec2 ranges[] = 344 Vec2(-2.0f, 2.0f), 345 Vec2(-16000.0f, 16000.0f), 346 Vec2(-1e35f, 1e35f) 645 Vec2 range = getFloatRange(output.precision); [all...] |
/external/deqp/modules/gles31/functional/ |
es31fTextureFormatTests.cpp | 217 computeQuadTexCoordCubeArray(texCoord, face, tcu::Vec2(0.0f, 0.0f), tcu::Vec2(1.0f, 1.0f), tcu::Vec2((float)layerNdx));
|
es31fFboTestUtil.cpp | 48 using tcu::Vec2; 85 src << "in highp vec2 v_coord;\n"; 128 "in highp vec2 a_coord;\n" 129 "out highp vec2 v_coord;\n" 219 tcu::Vec2 texCoords[4]; 228 texCoords[fragNdx] = tcu::Vec2(coord.x(), coord.y()); 283 "in mediump vec2 a_coord;\n" 377 const tcu::Vec2 a_coord = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx).xy();
|
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/ |
vktProtectedMemShaderImageAccessTests.cpp | 286 "layout(location = 0) in mediump vec2 a_position;\n" 287 "layout(location = 1) in mediump vec2 a_texCoord;\n" 288 "layout(location = 0) out mediump vec2 v_texCoord;\n" 302 "layout(location = 0) in mediump vec2 v_texCoord;\n" 405 comp << " ${COLOR_VEC_TYPE} color = texture(u_sampler, vec2(float(gx)/" << de::toString((int)IMAGE_WIDTH) << ", float(gy)/" << de::toString((int)IMAGE_HEIGHT) << "));\n"; [all...] |
vktProtectedMemYCbCrConversionTests.cpp | 63 std::vector<tcu::Vec2> computeVertexPositions (int numValues, const tcu::IVec2& renderSize) 65 std::vector<tcu::Vec2> positions(numValues); 73 positions[valNdx] = tcu::Vec2(fx, fy); 79 void genTexCoords (std::vector<tcu::Vec2>& coords, const tcu::UVec2& size) 93 coords.push_back(tcu::Vec2(s, t)); 708 "layout(location = 0) in highp vec2 a_position;\n" 739 "layout(location = 0) in highp vec2 a_position;\n" 819 const std::vector<tcu::Vec2>& posCoords) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/rasterization/ |
vktRasterizationTests.cpp | [all...] |
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
vktTextureSwizzleTests.cpp | 120 computeQuadTexCoord2D(texCoord, tcu::Vec2(0.0f, 0.0f), tcu::Vec2(1.0f, 1.0f));
|
/external/deqp/external/openglcts/modules/common/ |
glcShaderRenderCase.hpp | 203 tcu::Vec4 texture2D(int unitNdx, const tcu::Vec2& coords);
|
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/ |
vktYCbCrImageQueryTests.cpp | 60 using tcu::Vec2; 639 const Vec2 dtdp = testImages[imageNdx]->getSize().cast<float>() / renderSize.cast<float>(); 641 const Vec2 lodBounds (tcu::computeLodBoundsFromDerivates(dtdp.x(), 0.0f, 0.0f, dtdp.y(), lodPrec)); 649 const Vec2 result = resultImg.getPixel(x, y).swizzle(0,1); 693 "layout(location = 0) out highp vec2 v_texCoord;\n" 703 "layout(location = 0) in highp vec2 v_texCoord;\n" 704 "layout(location = 0) out highp vec2 o_lod;\n"
|
vktYCbCrUtil.hpp | 187 const std::vector<tcu::Vec2>& sts,
|
/external/deqp/modules/egl/ |
teglRenderTests.cpp | 131 const tcu::Vec2 csp0 = p0.swizzle(0, 1) / p0.w(); 132 const tcu::Vec2 csp1 = p1.swizzle(0, 1) / p1.w(); 133 const tcu::Vec2 csp2 = p2.swizzle(0, 1) / p2.w(); 135 const tcu::Vec2 e01 = (csp1 - csp0); 136 const tcu::Vec2 e02 = (csp2 - csp0); [all...] |