• Home
  • Raw
  • Download

Lines Matching refs:Vec4

44 using tcu::Vec4;
62 …g_color_eps = Vec4(1.f / (float)(1 << deMin32(8, pixelFormat.redBits)), 1.f / (float)(1 << deMin32… in TGBase()
68 Vec4 g_color_eps;
266 inline bool ColorEqual(const Vec4& c0, const Vec4& c1, const Vec4& epsilon) in ColorEqual()
616 std::vector<Vec4> pixels(csize * csize, Vec4(1.0)); in CreateTextureCubeArray()
627Vec4 data[4] = { Vec4(12. / 16, 13. / 16, 14. / 16, 15. / 16), Vec4(8. / 16, 9. / 16, 10. / 16, 11… in CreateTextureCubeArray()
628 Vec4(0. / 16, 1. / 16, 2. / 16, 3. / 16), Vec4(4. / 16, 5. / 16, 6. / 16, 7. / 16) }; in CreateTextureCubeArray()
630 Vec4 depthData(data[0][0], data[1][0], data[2][0], data[3][0]); in CreateTextureCubeArray()
631 Vec4* packedData = (format == GL_DEPTH_COMPONENT) ? &depthData : data; in CreateTextureCubeArray()
706 std::vector<Vec4> pixels(csize * csize, Vec4(1.0)); in CreateTexture2DArray()
717Vec4 data[4] = { Vec4(12. / 16, 13. / 16, 14. / 16, 15. / 16), Vec4(8. / 16, 9. / 16, 10. / 16, 11… in CreateTexture2DArray()
718 Vec4(0. / 16, 1. / 16, 2. / 16, 3. / 16), Vec4(4. / 16, 5. / 16, 6. / 16, 7. / 16) }; in CreateTexture2DArray()
794 std::vector<Vec4> pixels(csize * csize, Vec4(1.0)); in CreateTextureCube()
805Vec4 data[4] = { Vec4(12. / 16, 13. / 16, 14. / 16, 15. / 16), Vec4(8. / 16, 9. / 16, 10. / 16, 11… in CreateTextureCube()
806 Vec4(0. / 16, 1. / 16, 2. / 16, 3. / 16), Vec4(4. / 16, 5. / 16, 6. / 16, 7. / 16) }; in CreateTextureCube()
808 Vec4 depthData(data[0][0], data[1][0], data[2][0], data[3][0]); in CreateTextureCube()
809 Vec4* packedData = (format == GL_DEPTH_COMPONENT) ? &depthData : data; in CreateTextureCube()
846 std::vector<Vec4> pixels(csize * csize, Vec4(1.0)); in CreateTexture2D()
854Vec4 data[4] = { Vec4(12. / 16, 13. / 16, 14. / 16, 15. / 16), Vec4(8. / 16, 9. / 16, 10. / 16, 11… in CreateTexture2D()
855 Vec4(0. / 16, 1. / 16, 2. / 16, 3. / 16), Vec4(4. / 16, 5. / 16, 6. / 16, 7. / 16) }; in CreateTexture2D()
972 Vec4 data; in Verify()
986 virtual Vec4 Expected() in Expected()
988 return Vec4(0. / 16, 4. / 16, 8. / 16, 12. / 16); in Expected()
1001 virtual Vec4 BufferData() in BufferData()
1003 return Vec4(23. / 32, 26. / 32, 5, 3); in BufferData()
1036 Vec4 buffData = BufferData(); in Run()
1090 glBufferData(GL_SHADER_STORAGE_BUFFER, sizeof(Vec4), NULL, GL_DYNAMIC_DRAW); in TestCompute()
1107 Vec4* data; in VerifyCompute()
1108 …data = static_cast<Vec4*>(glMapBufferRange(GL_SHADER_STORAGE_BUFFER, 0, sizeof(Vec4), GL_MAP_READ_… in VerifyCompute()
1150 virtual Vec4 Expected() in Expected()
1152 return Vec4(1. / 16, 5. / 16, 9. / 16, 13. / 16); in Expected()
1298 virtual Vec4 BufferData() in BufferData()
1300 return Vec4(22.9f / 32, 25.9f / 32, 2, 2); in BufferData()
1335 virtual Vec4 Expected() in Expected()
1337 return Vec4(1, 1, 0, 0); in Expected()
1340 virtual Vec4 BufferData() in BufferData()
1342 return Vec4(23. / 32, 26. / 32, 13.5 / 16, 3); in BufferData()
1457 virtual Vec4 BufferData() in BufferData()
1459 return Vec4(23. / 32, 26. / 32, 11, 3); in BufferData()
1527 virtual Vec4 BufferData() in BufferData()
1529 return Vec4(23. / 32, 26. / 32, 1, 3); in BufferData()
1564 virtual Vec4 Expected() in Expected()
1566 return Vec4(1, 1, 0, 0); in Expected()
1569 virtual Vec4 BufferData() in BufferData()
1571 return Vec4(23. / 32, 26. / 32, 5, 13.5 / 16); in BufferData()
1595 virtual Vec4 BufferData() in BufferData()
1597 return Vec4(7. / 16, -10. / 16, 1, 7.5 / 16); in BufferData()
1621 virtual Vec4 BufferData() in BufferData()
1623 return Vec4(7. / 16, -10. / 16, 1, 7.5 / 16); in BufferData()
1638 virtual Vec4 Expected() in Expected()
1640 return Vec4(1. / 16, 5. / 16, 9. / 16, 13. / 16); in Expected()
1657 virtual Vec4 BufferData() in BufferData()
1659 return Vec4(7. / 16, -10. / 16, 1, 7.5 / 16); in BufferData()
1688 virtual Vec4 BufferData() in BufferData()
1690 return Vec4(7. / 16, -10. / 16, 1, 7.5 / 16); in BufferData()
1758 virtual Vec4 BufferData() in BufferData()
1760 return Vec4(7. / 16, -10. / 16, 1, 7.5 / 16); in BufferData()
1828 virtual Vec4 BufferData() in BufferData()
1830 return Vec4(7. / 16, -10. / 16, 1, 7.5 / 16); in BufferData()
1909 virtual Vec4 BufferData() in BufferData()
1911 return Vec4(7. / 16, -10. / 16, 1, 7.5 / 16); in BufferData()
1926 virtual Vec4 Expected() in Expected()
1928 return Vec4(0, 0, 1, 1); in Expected()
1950 virtual Vec4 BufferData() in BufferData()
1952 return Vec4(7. / 16, -10. / 16, 1, 5); in BufferData()
1986 virtual Vec4 BufferData() in BufferData()
1988 return Vec4(7. / 16, -10. / 16, 1, 3); in BufferData()
2027 virtual Vec4 BufferData() in BufferData()
2029 return Vec4(7. / 16, -10. / 16, 1, 11); in BufferData()
2107 virtual Vec4 BufferData() in BufferData()
2109 return Vec4(7. / 16, -10. / 16, 1, 1); in BufferData()
2188 virtual Vec4 BufferData() in BufferData()
2190 return Vec4(7. / 16, -10. / 16, 1, 3); in BufferData()
2215 virtual Vec4 Expected() in Expected()
2217 return Vec4(0, 0, 1, 1); in Expected()
2229 virtual Vec4 BufferData() in BufferData()
2231 return Vec4(23, 26, 0, 0); in BufferData()
2239 virtual Vec4 Expected() in Expected()
2241 return Vec4(1. / 16, 5. / 16, 9. / 16, 13. / 16); in Expected()
2260 virtual Vec4 BufferData() in BufferData()
2262 return Vec4(23, 26, 0, 0); in BufferData()
2291 virtual Vec4 BufferData() in BufferData()
2293 return Vec4(22.9f, 25.9f, 0, 0); in BufferData()
2361 virtual Vec4 BufferData() in BufferData()
2363 return Vec4(22.9f, 25.9f, 0, 0); in BufferData()
2432 virtual Vec4 BufferData() in BufferData()
2434 return Vec4(23, 26, 13.5 / 16, 3); in BufferData()
2459 virtual Vec4 Expected() in Expected()
2461 return Vec4(1, 1, 0, 0); in Expected()
2467 virtual Vec4 BufferData() in BufferData()
2469 return Vec4(19. / 32, 22. / 32, 4, 4); in BufferData()
2482 virtual Vec4 BufferData() in BufferData()
2484 return Vec4(19. / 32, 22. / 32, 4, 4); in BufferData()
2499 virtual Vec4 BufferData() in BufferData()
2501 return Vec4(18.9f / 32.f, 21.9f / 32.f, 4, 4); in BufferData()
2514 virtual Vec4 BufferData() in BufferData()
2516 return Vec4(18.9f / 32.f, 21.9f / 32.f, 4, 2); in BufferData()
2529 virtual Vec4 BufferData() in BufferData()
2531 return Vec4(19. / 32, 22. / 32, 4, 13.5 / 16); in BufferData()
2544 virtual Vec4 BufferData() in BufferData()
2546 return Vec4(19. / 32, 22. / 32, 5, 4); in BufferData()
2559 virtual Vec4 BufferData() in BufferData()
2561 return Vec4(19. / 32, 22. / 32, 3, 4); in BufferData()
2574 virtual Vec4 BufferData() in BufferData()
2576 return Vec4(19. / 32, 22. / 32, 11, 4); in BufferData()
2589 virtual Vec4 BufferData() in BufferData()
2591 return Vec4(19. / 32, 22. / 32, 1, 4); in BufferData()
2610 virtual Vec4 BufferData() in BufferData()
2612 return Vec4(19. / 32, 22. / 32, 3, 4); in BufferData()
2626 virtual Vec4 BufferData() in BufferData()
2628 return Vec4(19, 22, 0, 4); in BufferData()
2641 virtual Vec4 BufferData() in BufferData()
2643 return Vec4(30.9f, 18.9f, -8.f, 7.f); in BufferData()
2656 virtual Vec4 BufferData() in BufferData()
2658 return Vec4(22.9f, 25.9f, 0, 0); in BufferData()
2671 virtual Vec4 BufferData() in BufferData()
2673 return Vec4(26.9f, 29.9f, 0, -4); in BufferData()
2686 virtual Vec4 BufferData() in BufferData()
2688 return Vec4(19, 22, 13.5 / 16, 4); in BufferData()
2701 virtual Vec4 BufferData() in BufferData()
2703 return Vec4(18. / 32, 8. / 32, 0, 0); in BufferData()
2718 virtual Vec4 BufferData() in BufferData()
2720 return Vec4(18. / 32, 8. / 32, 0, 0); in BufferData()
2736 virtual Vec4 BufferData() in BufferData()
2738 return Vec4(18. / 32, 8. / 32, 0, 0); in BufferData()
2753 virtual Vec4 BufferData() in BufferData()
2755 return Vec4(18. / 32, 8. / 32, 2, 2); in BufferData()
2770 virtual Vec4 BufferData() in BufferData()
2772 return Vec4(18. / 32, 8. / 32, 0.49f, 0); in BufferData()
2784 virtual Vec4 Expected() in Expected()
2786 return Vec4(0, 0, 1, 1); in Expected()
2797 virtual Vec4 BufferData() in BufferData()
2799 return Vec4(18. / 32, 8. / 32, 1, 0); in BufferData()
2819 virtual Vec4 BufferData() in BufferData()
2821 return Vec4(18. / 32, 8. / 32, 1, 0); in BufferData()
2841 virtual Vec4 BufferData() in BufferData()
2843 return Vec4(18. / 32, 8. / 32, 1, 0); in BufferData()
2863 virtual Vec4 BufferData() in BufferData()
2865 return Vec4(18. / 32, 8. / 32, 1, 0); in BufferData()
2886 virtual Vec4 BufferData() in BufferData()
2888 return Vec4(18. / 32, 8. / 32, 1, 0.49f); in BufferData()
2900 virtual Vec4 Expected() in Expected()
2902 return Vec4(0, 0, 1, 1); in Expected()
2908 virtual Vec4 BufferData() in BufferData()
2910 return Vec4(18, 8, 0, 0); in BufferData()
2925 virtual Vec4 BufferData() in BufferData()
2927 return Vec4(18, 8, 0, 0); in BufferData()
2942 virtual Vec4 BufferData() in BufferData()
2944 return Vec4(17.9f, 7.9f, 0, 0); in BufferData()
2959 virtual Vec4 BufferData() in BufferData()
2961 return Vec4(17.9f, 7.9f, 0, 0); in BufferData()
2976 virtual Vec4 BufferData() in BufferData()
2978 return Vec4(17.9f, 7.9f, 0.49f, 0); in BufferData()
2990 virtual Vec4 Expected() in Expected()
2992 return Vec4(0, 0, 1, 1); in Expected()
3007 virtual Vec4 Expected() in Expected()
3009 return Vec4(5. / 16, 9. / 16, 13. / 16, 13. / 16); in Expected()
3029 virtual Vec4 Expected() in Expected()
3031 return Vec4(0); in Expected()
3043 virtual Vec4 Expected() in Expected()
3045 return Vec4(1); in Expected()
3108 std::vector<Vec4> data(100 * 100, Vec4(0.25, 0.5, 0.75, 1)); in Run()
3131 std::vector<Vec4> read(100 * 100, Vec4(0)); in Run()
3135 if (read[i] != Vec4(0.75)) in Run()
3164 virtual Vec4 Expected() in Expected()
3166 return Vec4(0.f, 0.0512695f, 0.21582f, 0.519531f); in Expected()
3187 virtual Vec4 Expected() in Expected()
3189 return Vec4(3. / 16, 7. / 16, 11. / 16, 15. / 16); in Expected()
3280 Vec4 buffData = BufferData(); in Run()
3295 Vec4 data; in Run()
3297 if (!ColorEqual(data, Vec4(0, 1, 0, 1), g_color_eps)) in Run()
3435 Vec4 buffData = BufferData(); in Run()
3452 Vec4 data; in Run()
3454 if (!ColorEqual(data, Vec4(0, 1, 0, 1), g_color_eps)) in Run()