Home
last modified time | relevance | path

Searched refs:wrapModes (Results 1 – 25 of 25) sorted by relevance

/third_party/vk-gl-cts/modules/gles3/functional/
Des3fTextureWrapTests.cpp398 } wrapModes[] = in init() local
437 FOR_EACH(wrapS, wrapModes, in init()
438 FOR_EACH(wrapT, wrapModes, in init()
441 …const string name = string("") + wrapModes[wrapS].name + "_" + wrapModes[wrapT].name + "_" + filte… in init()
444 wrapModes[wrapS].mode, in init()
445 wrapModes[wrapT].mode, in init()
462 FOR_EACH(wrapS, wrapModes, in init()
463 FOR_EACH(wrapT, wrapModes, in init()
466 …const string name = string("") + wrapModes[wrapS].name + "_" + wrapModes[wrapT].name + "_" + filte… in init()
468 bool enableRelaxedPrecisionRef = wrapModes[wrapS].mode == GL_REPEAT || in init()
[all …]
Des3fVertexTextureTests.cpp1854 } wrapModes[] = in init() local
1893 FOR_EACH(wrapMode, wrapModes, in init()
1895 …ilterModes[minFilter].name + "_" + magFilterModes[magFilter].name + "_" + wrapModes[wrapMode].name; in init()
1901 wrapModes[wrapMode].mode, in init()
1902 wrapModes[wrapMode].mode)); in init()
1905 FOR_EACH(wrapSMode, wrapModes, in init()
1906 FOR_EACH(wrapTMode, wrapModes, in init()
1908 const string name = string("") + wrapModes[wrapSMode].name + "_" + wrapModes[wrapTMode].name; in init()
1914 wrapModes[wrapSMode].mode, in init()
1915 wrapModes[wrapTMode].mode)); in init()
[all …]
Des3fTextureFilteringTests.cpp1203 } wrapModes[] = in init() local
1400 for (int wrapSNdx = 0; wrapSNdx < DE_LENGTH_OF_ARRAY(wrapModes); wrapSNdx++) in init()
1402 for (int wrapTNdx = 0; wrapTNdx < DE_LENGTH_OF_ARRAY(wrapModes); wrapTNdx++) in init()
1407 deUint32 wrapS = wrapModes[wrapSNdx].mode; in init()
1408 deUint32 wrapT = wrapModes[wrapTNdx].mode; in init()
1411 …ame) + "_" + magFilterModes[magFilterNdx].name + "_" + wrapModes[wrapSNdx].name + "_" + wrapModes[… in init()
1523 for (int wrapSNdx = 0; wrapSNdx < DE_LENGTH_OF_ARRAY(wrapModes); wrapSNdx++) in init()
1525 for (int wrapTNdx = 0; wrapTNdx < DE_LENGTH_OF_ARRAY(wrapModes); wrapTNdx++) in init()
1530 deUint32 wrapS = wrapModes[wrapSNdx].mode; in init()
1531 deUint32 wrapT = wrapModes[wrapTNdx].mode; in init()
[all …]
Des3fTextureMipmapTests.cpp2372 } wrapModes[] = in init() local
2476 for (int wrapMode = 0; wrapMode < DE_LENGTH_OF_ARRAY(wrapModes); wrapMode++) in init()
2485 << "_" << wrapModes[wrapMode].name; in init()
2494 wrapModes[wrapMode].mode, in init()
2495 wrapModes[wrapMode].mode, in init()
2651 for (int wrapMode = 0; wrapMode < DE_LENGTH_OF_ARRAY(wrapModes); wrapMode++) in init()
2660 << "_" << wrapModes[wrapMode].name; in init()
2669 wrapModes[wrapMode].mode, in init()
2670 wrapModes[wrapMode].mode, in init()
2671 wrapModes[wrapMode].mode, in init()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fTextureWrapTests.cpp260 } wrapModes[] = in init() local
305 FOR_EACH(wrapS, wrapModes, in init()
306 FOR_EACH(wrapT, wrapModes, in init()
311 …bool is_clamp_clamp = (wrapModes[wrapS].mode == GL_CLAMP_TO_EDGE && wrapModes[wrapT].mode == GL_C… in init()
312 …bool is_repeat_mirror = (wrapModes[wrapS].mode == GL_REPEAT && wrapModes[wrapT].mode == GL_MIRRO… in init()
320 …string name = string("") + wrapModes[wrapS].name + "_" + wrapModes[wrapT].name + "_" + filteringMo… in init()
323 wrapModes[wrapS].mode, in init()
324 wrapModes[wrapT].mode, in init()
334 FOR_EACH(wrapS, wrapModes, in init()
335 FOR_EACH(wrapT, wrapModes, in init()
[all …]
Des2fVertexTextureTests.cpp1062 } wrapModes[] = in init() local
1101 FOR_EACH(wrapMode, wrapModes, in init()
1103 …ilterModes[minFilter].name + "_" + magFilterModes[magFilter].name + "_" + wrapModes[wrapMode].name; in init()
1109 wrapModes[wrapMode].mode, in init()
1110 wrapModes[wrapMode].mode)); in init()
1113 FOR_EACH(wrapSMode, wrapModes, in init()
1114 FOR_EACH(wrapTMode, wrapModes, in init()
1116 const string name = string("") + wrapModes[wrapSMode].name + "_" + wrapModes[wrapTMode].name; in init()
1122 wrapModes[wrapSMode].mode, in init()
1123 wrapModes[wrapTMode].mode)); in init()
[all …]
Des2fTextureFilteringTests.cpp630 } wrapModes[] = in init() local
703 FOR_EACH(wrapMode, wrapModes, in init()
708 bool isClamp = wrapModes[wrapMode].mode == GL_CLAMP_TO_EDGE; in init()
709 bool isRepeat = wrapModes[wrapMode].mode == GL_REPEAT; in init()
719 …terModes[minFilter].name + "_" + magFilterModes[magFilter].name + "_" + wrapModes[wrapMode].name +… in init()
728 wrapModes[wrapMode].mode, in init()
729 wrapModes[wrapMode].mode, in init()
742 FOR_EACH(wrapMode, wrapModes, in init()
744 …terModes[minFilter].name + "_" + magFilterModes[magFilter].name + "_" + wrapModes[wrapMode].name +… in init()
750 wrapModes[wrapMode].mode, in init()
[all …]
Des2fTextureMipmapTests.cpp1060 } wrapModes[] = in init() local
1137 for (int wrapMode = 0; wrapMode < DE_LENGTH_OF_ARRAY(wrapModes); wrapMode++) in init()
1146 << "_" << wrapModes[wrapMode].name; in init()
1155 wrapModes[wrapMode].mode, in init()
1156 wrapModes[wrapMode].mode, in init()
/third_party/vk-gl-cts/modules/gles2/accuracy/
Des2aTextureFilteringTests.cpp648 } wrapModes[] = in init() local
719 FOR_EACH(wrapMode, wrapModes, in init()
724 bool isClamp = wrapModes[wrapMode].mode == GL_CLAMP_TO_EDGE; in init()
725 bool isRepeat = wrapModes[wrapMode].mode == GL_REPEAT; in init()
735 …terModes[minFilter].name + "_" + magFilterModes[magFilter].name + "_" + wrapModes[wrapMode].name +… in init()
744 wrapModes[wrapMode].mode, in init()
745 wrapModes[wrapMode].mode, in init()
753 FOR_EACH(wrapMode, wrapModes, in init()
758 bool isClamp = wrapModes[wrapMode].mode == GL_CLAMP_TO_EDGE; in init()
759 bool isRepeat = wrapModes[wrapMode].mode == GL_REPEAT; in init()
[all …]
Des2aTextureMipmapTests.cpp660 } wrapModes[] = in init() local
702 for (int wrapMode = 0; wrapMode < DE_LENGTH_OF_ARRAY(wrapModes); wrapMode++) in init()
706 << "_" << wrapModes[wrapMode].name; in init()
712 wrapModes[wrapMode].mode, in init()
713 wrapModes[wrapMode].mode, in init()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktTextureFilteringTests.cpp1059 } wrapModes[] = in populateTextureFilteringTests() local
1276 for (int wrapSNdx = 0; wrapSNdx < DE_LENGTH_OF_ARRAY(wrapModes); wrapSNdx++) in populateTextureFilteringTests()
1278 …de::MovePtr<tcu::TestCaseGroup> wrapSGroup(new tcu::TestCaseGroup(testCtx, wrapModes[wrapSNdx].nam… in populateTextureFilteringTests()
1280 for (int wrapTNdx = 0; wrapTNdx < DE_LENGTH_OF_ARRAY(wrapModes); wrapTNdx++) in populateTextureFilteringTests()
1282 const string name = wrapModes[wrapTNdx].name; in populateTextureFilteringTests()
1290 testParameters.wrapS = wrapModes[wrapSNdx].mode; in populateTextureFilteringTests()
1291 testParameters.wrapT = wrapModes[wrapTNdx].mode; in populateTextureFilteringTests()
1476 for (int wrapSNdx = 0; wrapSNdx < DE_LENGTH_OF_ARRAY(wrapModes); wrapSNdx++) in populateTextureFilteringTests()
1478 …de::MovePtr<tcu::TestCaseGroup> wrapSGroup(new tcu::TestCaseGroup(testCtx, wrapModes[wrapSNdx].nam… in populateTextureFilteringTests()
1480 for (int wrapTNdx = 0; wrapTNdx < DE_LENGTH_OF_ARRAY(wrapModes); wrapTNdx++) in populateTextureFilteringTests()
[all …]
DvktTextureMipmapTests.cpp1711 } wrapModes[] = in populateTextureMipmappingTests() local
1807 for (int wrapMode = 0; wrapMode < DE_LENGTH_OF_ARRAY(wrapModes); wrapMode++) in populateTextureMipmappingTests()
1818 testParameters.wrapS = wrapModes[wrapMode].mode; in populateTextureMipmappingTests()
1819 testParameters.wrapT = wrapModes[wrapMode].mode; in populateTextureMipmappingTests()
1828 << "_" << wrapModes[wrapMode].name; in populateTextureMipmappingTests()
1942 for (int wrapMode = 0; wrapMode < DE_LENGTH_OF_ARRAY(wrapModes); wrapMode++) in populateTextureMipmappingTests()
1950 testParameters.wrapS = wrapModes[wrapMode].mode; in populateTextureMipmappingTests()
1951 testParameters.wrapT = wrapModes[wrapMode].mode; in populateTextureMipmappingTests()
1964 << "_" << wrapModes[wrapMode].name; in populateTextureMipmappingTests()
2049 for (int wrapMode = 0; wrapMode < DE_LENGTH_OF_ARRAY(wrapModes); wrapMode++) in populateTextureMipmappingTests()
[all …]
/third_party/skia/src/gpu/
DGrSamplerState.h45 constexpr GrSamplerState(const WrapMode wrapModes[2],
48 : fWrapModes{wrapModes[0], wrapModes[1]}, fFilter(filter), fMipmapMode(mm) {}
DGrTestUtils.cpp111 void TestWrapModes(SkRandom* random, GrSamplerState::WrapMode wrapModes[2]) { in TestWrapModes()
117 wrapModes[0] = kWrapModes[random->nextULessThan(SK_ARRAY_COUNT(kWrapModes))]; in TestWrapModes()
118 wrapModes[1] = kWrapModes[random->nextULessThan(SK_ARRAY_COUNT(kWrapModes))]; in TestWrapModes()
/third_party/skia/src/gpu/effects/
DGrDistanceFieldGeoProc.cpp289 GrSamplerState::WrapMode wrapModes[2]; in TestCreate() local
290 GrTest::TestWrapModes(d->fRandom, wrapModes); in TestCreate()
291 GrSamplerState samplerState(wrapModes, d->fRandom->nextBool() in TestCreate()
556 GrSamplerState::WrapMode wrapModes[2]; in TestCreate() local
557 GrTest::TestWrapModes(d->fRandom, wrapModes); in TestCreate()
558 GrSamplerState samplerState(wrapModes, d->fRandom->nextBool() in TestCreate()
869 GrSamplerState::WrapMode wrapModes[2]; in TestCreate() local
870 GrTest::TestWrapModes(d->fRandom, wrapModes); in TestCreate()
871 GrSamplerState samplerState(wrapModes, d->fRandom->nextBool() in TestCreate()
DGrBitmapTextGeoProc.cpp204 GrSamplerState::WrapMode wrapModes[2]; in TestCreate() local
205 GrTest::TestWrapModes(d->fRandom, wrapModes); in TestCreate()
206 GrSamplerState samplerState(wrapModes, d->fRandom->nextBool() in TestCreate()
DGrTextureEffect.cpp794 Wrap wrapModes[2]; in TestCreate() local
795 GrTest::TestWrapModes(testData->fRandom, wrapModes); in TestCreate()
802 GrSamplerState params(wrapModes, filter, mm); in TestCreate()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fTextureFilteringTests.cpp450 } wrapModes[] = in init() local
589 for (int wrapSNdx = 0; wrapSNdx < DE_LENGTH_OF_ARRAY(wrapModes); wrapSNdx++) in init()
591 for (int wrapTNdx = 0; wrapTNdx < DE_LENGTH_OF_ARRAY(wrapModes); wrapTNdx++) in init()
596 const deUint32 wrapS = wrapModes[wrapSNdx].mode; in init()
597 const deUint32 wrapT = wrapModes[wrapTNdx].mode; in init()
600 …ame) + "_" + magFilterModes[magFilterNdx].name + "_" + wrapModes[wrapSNdx].name + "_" + wrapModes[… in init()
Des31fTextureGatherTests.cpp2106 } wrapModes[] = in init() local
2189 for (int wrapCaseNdx = 0; wrapCaseNdx < DE_LENGTH_OF_ARRAY(wrapModes); wrapCaseNdx++) in init()
2192 const int wrapTNdx = (wrapCaseNdx + 1) % DE_LENGTH_OF_ARRAY(wrapModes); in init()
2193 const tcu::Sampler::WrapMode wrapS = wrapModes[wrapSNdx].mode; in init()
2194 const tcu::Sampler::WrapMode wrapT = wrapModes[wrapTNdx].mode; in init()
2196 … const string caseName = string() + wrapModes[wrapSNdx].name + "_" + wrapModes[wrapTNdx].name; in init()
/third_party/vk-gl-cts/modules/gles3/accuracy/
Des3aTextureFilteringTests.cpp655 } wrapModes[] = in init() local
724 FOR_EACH(wrapMode, wrapModes, in init()
728 …terModes[minFilter].name + "_" + magFilterModes[magFilter].name + "_" + wrapModes[wrapMode].name +… in init()
734 wrapModes[wrapMode].mode, in init()
735 wrapModes[wrapMode].mode, in init()
743 FOR_EACH(wrapMode, wrapModes, in init()
747 …terModes[minFilter].name + "_" + magFilterModes[magFilter].name + "_" + wrapModes[wrapMode].name +… in init()
753 wrapModes[wrapMode].mode, in init()
754 wrapModes[wrapMode].mode, in init()
Des3aTextureMipmapTests.cpp648 } wrapModes[] = in init() local
690 for (int wrapMode = 0; wrapMode < DE_LENGTH_OF_ARRAY(wrapModes); wrapMode++) in init()
694 << "_" << wrapModes[wrapMode].name; in init()
700 wrapModes[wrapMode].mode, in init()
701 wrapModes[wrapMode].mode, in init()
/third_party/vk-gl-cts/external/openglcts/modules/gles2/
Des2cTexture3DTests.cpp1900 …} wrapModes[] = { { "clamp", GL_CLAMP_TO_EDGE }, { "repeat", GL_REPEAT }, { "mirror", GL_MIRRORED_… in init() local
2055 for (int wrapSNdx = 0; wrapSNdx < DE_LENGTH_OF_ARRAY(wrapModes); wrapSNdx++) in init()
2057 for (int wrapTNdx = 0; wrapTNdx < DE_LENGTH_OF_ARRAY(wrapModes); wrapTNdx++) in init()
2059 for (int wrapRNdx = 0; wrapRNdx < DE_LENGTH_OF_ARRAY(wrapModes); wrapRNdx++) in init()
2064 data.wrapS = wrapModes[wrapSNdx].mode; in init()
2065 data.wrapT = wrapModes[wrapTNdx].mode; in init()
2066 data.wrapR = wrapModes[wrapRNdx].mode; in init()
2071 magFilterModes[magFilterNdx].name + "_" + wrapModes[wrapSNdx].name + in init()
2072 "_" + wrapModes[wrapTNdx].name + "_" + wrapModes[wrapRNdx].name; in init()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DStateManager11.h137 : baseLevel(0), internalFormatBits(0), wrapModes(0), padding(0), intBorderColor{0} in SamplerMetadata()
142 int wrapModes; member
DStateManager11.cpp425 int wrapModes = GetWrapBits(wrapS) | (GetWrapBits(wrapT) << 2) | (GetWrapBits(wrapR) << 4); in updateSamplerMetadata() local
426 if (data->wrapModes != wrapModes) in updateSamplerMetadata()
428 data->wrapModes = wrapModes; in updateSamplerMetadata()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderTextureGatherTests.cpp2598 } wrapModes[] = in init() local
2685 for (int wrapCaseNdx = 0; wrapCaseNdx < DE_LENGTH_OF_ARRAY(wrapModes); wrapCaseNdx++) in init()
2688 const int wrapTNdx = (wrapCaseNdx + 1) % DE_LENGTH_OF_ARRAY(wrapModes); in init()
2689 const tcu::Sampler::WrapMode wrapS = wrapModes[wrapSNdx].mode; in init()
2690 const tcu::Sampler::WrapMode wrapT = wrapModes[wrapTNdx].mode; in init()
2692 … const string caseName = string() + wrapModes[wrapSNdx].name + "_" + wrapModes[wrapTNdx].name; in init()