/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_shading_rate/ |
D | vktFragmentShadingRateTests.cpp | 288 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 …]
|
D | vktFragmentShadingRatePixelConsistency.cpp | 361 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()
|
D | vktFragmentShadingRateBasic.cpp | 857 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()
|
D | vktAttachmentRateTests.cpp | 1995 …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/ |
D | vktFragmentShadingRateTests.cpp | 288 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 …]
|
D | vktFragmentShadingRatePixelConsistency.cpp | 361 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()
|
D | vktFragmentShadingRateBasic.cpp | 857 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()
|
D | vktAttachmentRateTests.cpp | 1995 …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/ |
D | vktMeshShaderUtil.cpp | 34 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()
|
D | vktMeshShaderUtil.hpp | 52 vk::VkExtent2D getShadingRateSize (FragmentSize fragmentSize); 72 std::string getGLSLShadingRateMask (FragmentSize fragmentSize); 75 int getSPVShadingRateValue (FragmentSize fragmentSize);
|
D | vktMeshShaderSmokeTests.cpp | 538 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()
|
D | vktMeshShaderSmokeTestsEXT.cpp | 651 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()
|
D | vktMeshShaderBuiltinTests.cpp | 150 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/ |
D | vktMeshShaderUtil.cpp | 34 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()
|
D | vktMeshShaderUtil.hpp | 52 vk::VkExtent2D getShadingRateSize (FragmentSize fragmentSize); 72 std::string getGLSLShadingRateMask (FragmentSize fragmentSize); 75 int getSPVShadingRateValue (FragmentSize fragmentSize);
|
D | vktMeshShaderSmokeTests.cpp | 538 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()
|
D | vktMeshShaderSmokeTestsEXT.cpp | 651 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()
|
D | vktMeshShaderBuiltinTests.cpp | 150 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/ |
D | SkDWriteFontFileStream.cpp | 177 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()
|
D | SkDWriteFontFileStream.h | 70 UINT64 fragmentSize,
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/fragment_shading_rate/ |
D | esextcFragmentShadingRateCombinedTests.cpp | 586 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/ |
D | VK_QCOM_render_pass_transform.txt | 75 * The pname:renderArea, viewports, scissors, and pname:fragmentSize are 156 their respective pname:fragmentSize and code:PrimitiveShadingRateKHR are
|
D | VK_QCOM_render_pass_transform.adoc | 78 * 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/ |
D | hb-directwrite.cc | 110 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/ |
D | VK_KHR_fragment_shading_rate.adoc | 51 VkExtent2D fragmentSize; 262 VkExtent2D fragmentSize; 271 | `sampleCounts` | `fragmentSize`
|