Home
last modified time | relevance | path

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

123

/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_shading_rate/
DvktFragmentShadingRateTests.cpp288 const auto& fragmentSize = fsr.fragmentSize; in testShadingRates() local
291 if (!deIntIsPow2(static_cast<int>(fragmentSize.width)) || in testShadingRates()
292 !deIntIsPow2(static_cast<int>(fragmentSize.height))) in testShadingRates()
299 if ((fragmentSize.width > fragmentShadingRateProperties.maxFragmentSize.width) || in testShadingRates()
300 (fragmentSize.height > fragmentShadingRateProperties.maxFragmentSize.height)) in testShadingRates()
306 if ((fragmentSize.width * fragmentSize.height) == 1) in testShadingRates()
334 …if ((fragmentSize.width * fragmentSize.height * highestSampleCount) > fragmentShadingRatePropertie… in testShadingRates()
343 const deUint32 currentWidth = fragmentSize.width; in testShadingRates()
350 deUint32 currentHeight = fragmentSize.height; in testShadingRates()
375 if ((fragmentSize.width == fsrB.fragmentSize.width) && in testShadingRates()
[all …]
DvktFragmentShadingRatePixelConsistency.cpp361 if (supportedRate.fragmentSize.width == m_data.shadingRate.width && in clampShadingRate()
362 supportedRate.fragmentSize.height == m_data.shadingRate.height) in clampShadingRate()
364 m_shadingRateClamped.push_back(supportedRate.fragmentSize); in clampShadingRate()
370 if (supportedRate.fragmentSize.width <= m_data.shadingRate.width && in clampShadingRate()
371 supportedRate.fragmentSize.height <= m_data.shadingRate.height && in clampShadingRate()
372 supportedRate.fragmentSize.width * supportedRate.fragmentSize.height == desiredSize) in clampShadingRate()
374 m_shadingRateClamped.push_back(supportedRate.fragmentSize); in clampShadingRate()
DvktFragmentShadingRateBasic.cpp857 supportedRate.fragmentSize.width * supportedRate.fragmentSize.height == desiredSize && in ShadingRateExtentToClampedMask()
858 …((supportedRate.fragmentSize.width <= ext.width && supportedRate.fragmentSize.height <= ext.heigh… in ShadingRateExtentToClampedMask()
859 …(supportedRate.fragmentSize.height <= ext.width && supportedRate.fragmentSize.width <= ext.height… in ShadingRateExtentToClampedMask()
861 mask |= 1 << ShadingRateExtentToEnum(supportedRate.fragmentSize); in ShadingRateExtentToClampedMask()
2902 VkExtent2D fragmentSize = ShadingRateEnumToExtent(PrimIDToPipelineShadingRate(i)); in drawCommands() local
2903 vk.cmdSetFragmentShadingRateKHR(cmdBuffer, &fragmentSize, m_data.combinerOp); in drawCommands()
2908 shadingRateState->fragmentSize = ShadingRateEnumToExtent(PrimIDToPipelineShadingRate(i)); in drawCommands()
DvktAttachmentRateTests.cpp1995 …deUint32 sr0RateWidth = supportedFragmentShadingRates[0].fragmentSize.width; // bigets su… in runTwoSubpassMode()
1996 deUint32 sr0RateHeight = supportedFragmentShadingRates[0].fragmentSize.height; in runTwoSubpassMode()
1997 … supportedFragmentShadingRates[supportedFragmentShadingRateCount - 2].fragmentSize.width; // small… in runTwoSubpassMode()
1998 …eHeight = supportedFragmentShadingRates[supportedFragmentShadingRateCount - 2].fragmentSize.height; in runTwoSubpassMode()
2184 …{ return (r.fragmentSize.width == testedRate.width && r.fragmentSize.height == testedRate.height);… in checkSupport()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_rate/
DvktFragmentShadingRateTests.cpp288 const auto& fragmentSize = fsr.fragmentSize; in testShadingRates() local
291 if (!deIntIsPow2(static_cast<int>(fragmentSize.width)) || in testShadingRates()
292 !deIntIsPow2(static_cast<int>(fragmentSize.height))) in testShadingRates()
299 if ((fragmentSize.width > fragmentShadingRateProperties.maxFragmentSize.width) || in testShadingRates()
300 (fragmentSize.height > fragmentShadingRateProperties.maxFragmentSize.height)) in testShadingRates()
306 if ((fragmentSize.width * fragmentSize.height) == 1) in testShadingRates()
334 …if ((fragmentSize.width * fragmentSize.height * highestSampleCount) > fragmentShadingRatePropertie… in testShadingRates()
343 const deUint32 currentWidth = fragmentSize.width; in testShadingRates()
350 deUint32 currentHeight = fragmentSize.height; in testShadingRates()
375 if ((fragmentSize.width == fsrB.fragmentSize.width) && in testShadingRates()
[all …]
DvktFragmentShadingRatePixelConsistency.cpp361 if (supportedRate.fragmentSize.width == m_data.shadingRate.width && in clampShadingRate()
362 supportedRate.fragmentSize.height == m_data.shadingRate.height) in clampShadingRate()
364 m_shadingRateClamped.push_back(supportedRate.fragmentSize); in clampShadingRate()
370 if (supportedRate.fragmentSize.width <= m_data.shadingRate.width && in clampShadingRate()
371 supportedRate.fragmentSize.height <= m_data.shadingRate.height && in clampShadingRate()
372 supportedRate.fragmentSize.width * supportedRate.fragmentSize.height == desiredSize) in clampShadingRate()
374 m_shadingRateClamped.push_back(supportedRate.fragmentSize); in clampShadingRate()
DvktFragmentShadingRateBasic.cpp857 supportedRate.fragmentSize.width * supportedRate.fragmentSize.height == desiredSize && in ShadingRateExtentToClampedMask()
858 …((supportedRate.fragmentSize.width <= ext.width && supportedRate.fragmentSize.height <= ext.heigh… in ShadingRateExtentToClampedMask()
859 …(supportedRate.fragmentSize.height <= ext.width && supportedRate.fragmentSize.width <= ext.height… in ShadingRateExtentToClampedMask()
861 mask |= 1 << ShadingRateExtentToEnum(supportedRate.fragmentSize); in ShadingRateExtentToClampedMask()
2902 VkExtent2D fragmentSize = ShadingRateEnumToExtent(PrimIDToPipelineShadingRate(i)); in drawCommands() local
2903 vk.cmdSetFragmentShadingRateKHR(cmdBuffer, &fragmentSize, m_data.combinerOp); in drawCommands()
2908 shadingRateState->fragmentSize = ShadingRateEnumToExtent(PrimIDToPipelineShadingRate(i)); in drawCommands()
DvktAttachmentRateTests.cpp1995 …deUint32 sr0RateWidth = supportedFragmentShadingRates[0].fragmentSize.width; // bigets su… in runTwoSubpassMode()
1996 deUint32 sr0RateHeight = supportedFragmentShadingRates[0].fragmentSize.height; in runTwoSubpassMode()
1997 … supportedFragmentShadingRates[supportedFragmentShadingRateCount - 2].fragmentSize.width; // small… in runTwoSubpassMode()
1998 …eHeight = supportedFragmentShadingRates[supportedFragmentShadingRateCount - 2].fragmentSize.height; in runTwoSubpassMode()
2184 …{ return (r.fragmentSize.width == testedRate.width && r.fragmentSize.height == testedRate.height);… in checkSupport()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/
DvktMeshShaderUtil.cpp34 VkExtent2D getShadingRateSize (FragmentSize fragmentSize) in getShadingRateSize() argument
37 switch (fragmentSize) in getShadingRateSize()
48 std::string getGLSLShadingRateMask (FragmentSize fragmentSize) in getGLSLShadingRateMask() argument
52 switch (fragmentSize) in getGLSLShadingRateMask()
63 int getSPVShadingRateValue (FragmentSize fragmentSize) in getSPVShadingRateValue() argument
73 switch (fragmentSize) in getSPVShadingRateValue()
DvktMeshShaderUtil.hpp52 vk::VkExtent2D getShadingRateSize (FragmentSize fragmentSize);
72 std::string getGLSLShadingRateMask (FragmentSize fragmentSize);
75 int getSPVShadingRateValue (FragmentSize fragmentSize);
DvktMeshShaderSmokeTests.cpp538 void checkMeshSupport (Context& context, tcu::Maybe<FragmentSize> fragmentSize) in checkMeshSupport() argument
540 DE_UNREF(fragmentSize); in checkMeshSupport()
544 …tGradientPrograms (vk::SourceCollections& programCollection, tcu::Maybe<FragmentSize> fragmentSize) in initGradientPrograms() argument
562 const auto useFragmentSize = static_cast<bool>(fragmentSize); in initGradientPrograms()
629 const int shadingRateVal = getSPVShadingRateValue(fragmentSize.get()); in initGradientPrograms()
924 tcu::TestStatus testFullscreenGradient (Context& context, tcu::Maybe<FragmentSize> fragmentSize) in testFullscreenGradient() argument
931 const auto useFragmentSize = static_cast<bool>(fragmentSize); in testFullscreenGradient()
933 …const auto rateSize = getShadingRateSize(useFragmentSize ? fragmentSize.get() : defaultFragment… in testFullscreenGradient()
990 …pNext->fragmentSize = getShadingRateSize(FragmentSize::SIZE_1X1); // 1x1 will not be used as the … in testFullscreenGradient()
DvktMeshShaderSmokeTestsEXT.cpp651 tcu::Maybe<FragmentSize> fragmentSize; member
655 : fragmentSize (fragmentSize_) in GradientParams()
664 if (static_cast<bool>(params.fragmentSize)) in checkMeshSupport()
694 const auto useFragmentSize = static_cast<bool>(params.fragmentSize); in initGradientPrograms()
698 const auto& fragSize = params.fragmentSize.get(); in initGradientPrograms()
810 const auto useFragmentSize = static_cast<bool>(params.fragmentSize); in testFullscreenGradient()
812 …const auto rateSize = getShadingRateSize(useFragmentSize ? params.fragmentSize.get() : defaultF… in testFullscreenGradient()
869 …pNext->fragmentSize = getShadingRateSize(FragmentSize::SIZE_1X1); // 1x1 will not be used as the … in testFullscreenGradient()
DvktMeshShaderBuiltinTests.cpp150 tcu::Maybe<FragmentSize> fragmentSize; member
255 if (static_cast<bool>(m_params.fragmentSize)) in iterate()
260 pNext->fragmentSize = getShadingRateSize(m_params.fragmentSize.get()); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
DvktMeshShaderUtil.cpp34 VkExtent2D getShadingRateSize (FragmentSize fragmentSize) in getShadingRateSize() argument
37 switch (fragmentSize) in getShadingRateSize()
48 std::string getGLSLShadingRateMask (FragmentSize fragmentSize) in getGLSLShadingRateMask() argument
52 switch (fragmentSize) in getGLSLShadingRateMask()
63 int getSPVShadingRateValue (FragmentSize fragmentSize) in getSPVShadingRateValue() argument
73 switch (fragmentSize) in getSPVShadingRateValue()
DvktMeshShaderUtil.hpp52 vk::VkExtent2D getShadingRateSize (FragmentSize fragmentSize);
72 std::string getGLSLShadingRateMask (FragmentSize fragmentSize);
75 int getSPVShadingRateValue (FragmentSize fragmentSize);
DvktMeshShaderSmokeTests.cpp538 void checkMeshSupport (Context& context, tcu::Maybe<FragmentSize> fragmentSize) in checkMeshSupport() argument
540 DE_UNREF(fragmentSize); in checkMeshSupport()
544 …tGradientPrograms (vk::SourceCollections& programCollection, tcu::Maybe<FragmentSize> fragmentSize) in initGradientPrograms() argument
562 const auto useFragmentSize = static_cast<bool>(fragmentSize); in initGradientPrograms()
629 const int shadingRateVal = getSPVShadingRateValue(fragmentSize.get()); in initGradientPrograms()
924 tcu::TestStatus testFullscreenGradient (Context& context, tcu::Maybe<FragmentSize> fragmentSize) in testFullscreenGradient() argument
931 const auto useFragmentSize = static_cast<bool>(fragmentSize); in testFullscreenGradient()
933 …const auto rateSize = getShadingRateSize(useFragmentSize ? fragmentSize.get() : defaultFragment… in testFullscreenGradient()
990 …pNext->fragmentSize = getShadingRateSize(FragmentSize::SIZE_1X1); // 1x1 will not be used as the … in testFullscreenGradient()
DvktMeshShaderSmokeTestsEXT.cpp651 tcu::Maybe<FragmentSize> fragmentSize; member
655 : fragmentSize (fragmentSize_) in GradientParams()
664 if (static_cast<bool>(params.fragmentSize)) in checkMeshSupport()
694 const auto useFragmentSize = static_cast<bool>(params.fragmentSize); in initGradientPrograms()
698 const auto& fragSize = params.fragmentSize.get(); in initGradientPrograms()
810 const auto useFragmentSize = static_cast<bool>(params.fragmentSize); in testFullscreenGradient()
812 …const auto rateSize = getShadingRateSize(useFragmentSize ? params.fragmentSize.get() : defaultF… in testFullscreenGradient()
869 …pNext->fragmentSize = getShadingRateSize(FragmentSize::SIZE_1X1); // 1x1 will not be used as the … in testFullscreenGradient()
DvktMeshShaderBuiltinTests.cpp150 tcu::Maybe<FragmentSize> fragmentSize; member
255 if (static_cast<bool>(m_params.fragmentSize)) in iterate()
260 pNext->fragmentSize = getShadingRateSize(m_params.fragmentSize.get()); in iterate()
/third_party/skia/src/utils/win/
DSkDWriteFontFileStream.cpp177 UINT64 fragmentSize, in ReadFileFragment() argument
183 if (fileOffset > fileSize || fragmentSize > fileSize - fileOffset) { in ReadFileFragment()
189 if (!SkTFitsIn<size_t>(fileOffset + fragmentSize)) { in ReadFileFragment()
208 SkAutoTMalloc<uint8_t> streamData(static_cast<size_t>(fragmentSize)); in ReadFileFragment()
209 if (fStream->read(streamData.get(), static_cast<size_t>(fragmentSize)) != fragmentSize) { in ReadFileFragment()
DSkDWriteFontFileStream.h70 UINT64 fragmentSize,
/third_party/vk-gl-cts/external/openglcts/modules/glesext/fragment_shading_rate/
DesextcFragmentShadingRateCombinedTests.cpp586 Extent2D fragmentSize = packedShadingRateToExtent(packedShadingRate); in shadingRateExtentToClampedMask() local
588 if (fragmentSize.width * fragmentSize.height == desiredSize && in shadingRateExtentToClampedMask()
589 ((fragmentSize.width <= ext.width && fragmentSize.height <= ext.height) || in shadingRateExtentToClampedMask()
590 (fragmentSize.height <= ext.width && fragmentSize.width <= ext.height && allowSwap))) in shadingRateExtentToClampedMask()
592 deUint32 candidate = (deCtz32(fragmentSize.width) << 2) | deCtz32(fragmentSize.height); in shadingRateExtentToClampedMask()
/third_party/vk-gl-cts/external/vulkan-docs/src/appendices/
DVK_QCOM_render_pass_transform.txt75 * The pname:renderArea, viewports, scissors, and pname:fragmentSize are
156 their respective pname:fragmentSize and code:PrimitiveShadingRateKHR are
DVK_QCOM_render_pass_transform.adoc78 * The pname:renderArea, viewports, scissors, and pname:fragmentSize are
166 their respective pname:fragmentSize and code:PrimitiveShadingRateKHR are
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-directwrite.cc110 UINT64 fragmentSize, in ReadFileFragment() argument
114 if (fileOffset + fragmentSize > mSize) return E_FAIL; in ReadFileFragment()
/third_party/vk-gl-cts/external/vulkan-docs/src/proposals/
DVK_KHR_fragment_shading_rate.adoc51 VkExtent2D fragmentSize;
262 VkExtent2D fragmentSize;
271 | `sampleCounts` | `fragmentSize`

123