Home
last modified time | relevance | path

Searched refs:FragmentSize (Results 1 - 15 of 15) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
H A DvktMeshShaderUtil.cpp34 VkExtent2D getShadingRateSize (FragmentSize fragmentSize) in getShadingRateSize()
39 case FragmentSize::SIZE_2X2: result.width = 2; result.height = 2; break; in getShadingRateSize()
40 case FragmentSize::SIZE_2X1: result.width = 2; result.height = 1; break; in getShadingRateSize()
41 case FragmentSize::SIZE_1X1: result.width = 1; result.height = 1; break; in getShadingRateSize()
48 std::string getGLSLShadingRateMask (FragmentSize fragmentSize) in getGLSLShadingRateMask()
54 case FragmentSize::SIZE_2X2: shadingRateMask = "(gl_ShadingRateFlag2HorizontalPixelsEXT|gl_ShadingRateFlag2VerticalPixelsEXT)"; break; in getGLSLShadingRateMask()
55 case FragmentSize::SIZE_2X1: shadingRateMask = "gl_ShadingRateFlag2HorizontalPixelsEXT"; break; in getGLSLShadingRateMask()
56 case FragmentSize::SIZE_1X1: shadingRateMask = "0"; break; in getGLSLShadingRateMask()
63 int getSPVShadingRateValue (FragmentSize fragmentSize) in getSPVShadingRateValue()
75 case FragmentSize in getSPVShadingRateValue()
[all...]
H A DvktMeshShaderUtil.hpp41 enum class FragmentSize class
49 using FragmentSizeVector = std::vector<FragmentSize>;
52 vk::VkExtent2D getShadingRateSize (FragmentSize fragmentSize);
56 FragmentSize getBadShadingRateSize (Iterator itBegin, Iterator itEnd) in getBadShadingRateSize()
58 const auto fsCount = static_cast<int>(FragmentSize::SIZE_COUNT); in getBadShadingRateSize()
62 const auto fs = static_cast<FragmentSize>(i); in getBadShadingRateSize()
68 return FragmentSize::SIZE_COUNT; in getBadShadingRateSize()
72 std::string getGLSLShadingRateMask (FragmentSize fragmentSize);
75 int getSPVShadingRateValue (FragmentSize fragmentSize);
H A DvktMeshShaderSmokeTests.cpp538 void checkMeshSupport (Context& context, tcu::Maybe<FragmentSize> fragmentSize) in checkMeshSupport()
544 void initGradientPrograms (vk::SourceCollections& programCollection, tcu::Maybe<FragmentSize> fragmentSize) in initGradientPrograms()
924 tcu::TestStatus testFullscreenGradient (Context& context, tcu::Maybe<FragmentSize> fragmentSize) in testFullscreenGradient()
932 const auto defaultFragmentSize = FragmentSize::SIZE_1X1; in testFullscreenGradient()
990 pNext->fragmentSize = getShadingRateSize(FragmentSize::SIZE_1X1); // 1x1 will not be used as the primitive rate in tests with fragment size. in testFullscreenGradient()
1131 addFunctionCaseWithPrograms(smokeTests.get(), "fullscreen_gradient", checkMeshSupport, initGradientPrograms, testFullscreenGradient, tcu::nothing<FragmentSize>()); in createMeshShaderSmokeTests()
1132 addFunctionCaseWithPrograms(smokeTests.get(), "fullscreen_gradient_fs2x2", checkMeshSupport, initGradientPrograms, testFullscreenGradient, tcu::just(FragmentSize::SIZE_2X2)); in createMeshShaderSmokeTests()
1133 addFunctionCaseWithPrograms(smokeTests.get(), "fullscreen_gradient_fs2x1", checkMeshSupport, initGradientPrograms, testFullscreenGradient, tcu::just(FragmentSize::SIZE_2X1)); in createMeshShaderSmokeTests()
H A DvktMeshShaderBuiltinTests.cpp150 tcu::Maybe<FragmentSize> fragmentSize;
679 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSize; in createInstance()
804 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSize; in createInstance()
942 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSize; in createInstance()
1019 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSize; in createInstance()
1090 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSize; in createInstance()
1202 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSize; in createInstance()
1323 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSize; in createInstance()
1456 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSize; in createInstance()
1567 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSiz in createInstance()
[all...]
H A DvktMeshShaderBuiltinTestsEXT.cpp151 tcu::Maybe<FragmentSize> fragmentSize;
807 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSize; in createInstance()
942 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSize; in createInstance()
1084 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSize; in createInstance()
1162 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSize; in createInstance()
1238 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSize; in createInstance()
1349 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSize; in createInstance()
1465 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSize; in createInstance()
1601 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSize; in createInstance()
1716 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSiz in createInstance()
[all...]
H A DvktMeshShaderSmokeTestsEXT.cpp655 tcu::Maybe<FragmentSize> fragmentSize;
658 GradientParams (const tcu::Maybe<FragmentSize>& fragmentSize_, PipelineConstructionType constructionType_) in GradientParams()
817 const auto defaultFragmentSize = FragmentSize::SIZE_1X1; in testFullscreenGradient()
875 pNext->fragmentSize = getShadingRateSize(FragmentSize::SIZE_1X1); // 1x1 will not be used as the primitive rate in tests with fragment size. in testFullscreenGradient()
2076 addFunctionCaseWithPrograms(constructionGroup.get(), "fullscreen_gradient", checkMeshSupport, initGradientPrograms, testFullscreenGradient, GradientParams(tcu::nothing<FragmentSize>(), cType)); in createMeshShaderSmokeTestsEXT()
2077 addFunctionCaseWithPrograms(constructionGroup.get(), "fullscreen_gradient_fs2x2", checkMeshSupport, initGradientPrograms, testFullscreenGradient, GradientParams(tcu::just(FragmentSize::SIZE_2X2), cType)); in createMeshShaderSmokeTestsEXT()
2078 addFunctionCaseWithPrograms(constructionGroup.get(), "fullscreen_gradient_fs2x1", checkMeshSupport, initGradientPrograms, testFullscreenGradient, GradientParams(tcu::just(FragmentSize::SIZE_2X1), cType)); in createMeshShaderSmokeTestsEXT()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/
H A DvktMeshShaderUtil.cpp34 VkExtent2D getShadingRateSize (FragmentSize fragmentSize) in getShadingRateSize()
39 case FragmentSize::SIZE_2X2: result.width = 2; result.height = 2; break; in getShadingRateSize()
40 case FragmentSize::SIZE_2X1: result.width = 2; result.height = 1; break; in getShadingRateSize()
41 case FragmentSize::SIZE_1X1: result.width = 1; result.height = 1; break; in getShadingRateSize()
48 std::string getGLSLShadingRateMask (FragmentSize fragmentSize) in getGLSLShadingRateMask()
54 case FragmentSize::SIZE_2X2: shadingRateMask = "(gl_ShadingRateFlag2HorizontalPixelsEXT|gl_ShadingRateFlag2VerticalPixelsEXT)"; break; in getGLSLShadingRateMask()
55 case FragmentSize::SIZE_2X1: shadingRateMask = "gl_ShadingRateFlag2HorizontalPixelsEXT"; break; in getGLSLShadingRateMask()
56 case FragmentSize::SIZE_1X1: shadingRateMask = "0"; break; in getGLSLShadingRateMask()
63 int getSPVShadingRateValue (FragmentSize fragmentSize) in getSPVShadingRateValue()
75 case FragmentSize in getSPVShadingRateValue()
[all...]
H A DvktMeshShaderUtil.hpp41 enum class FragmentSize class
49 using FragmentSizeVector = std::vector<FragmentSize>;
52 vk::VkExtent2D getShadingRateSize (FragmentSize fragmentSize);
56 FragmentSize getBadShadingRateSize (Iterator itBegin, Iterator itEnd) in getBadShadingRateSize()
58 const auto fsCount = static_cast<int>(FragmentSize::SIZE_COUNT); in getBadShadingRateSize()
62 const auto fs = static_cast<FragmentSize>(i); in getBadShadingRateSize()
68 return FragmentSize::SIZE_COUNT; in getBadShadingRateSize()
72 std::string getGLSLShadingRateMask (FragmentSize fragmentSize);
75 int getSPVShadingRateValue (FragmentSize fragmentSize);
H A DvktMeshShaderSmokeTests.cpp538 void checkMeshSupport (Context& context, tcu::Maybe<FragmentSize> fragmentSize) in checkMeshSupport()
544 void initGradientPrograms (vk::SourceCollections& programCollection, tcu::Maybe<FragmentSize> fragmentSize) in initGradientPrograms()
924 tcu::TestStatus testFullscreenGradient (Context& context, tcu::Maybe<FragmentSize> fragmentSize) in testFullscreenGradient()
932 const auto defaultFragmentSize = FragmentSize::SIZE_1X1; in testFullscreenGradient()
990 pNext->fragmentSize = getShadingRateSize(FragmentSize::SIZE_1X1); // 1x1 will not be used as the primitive rate in tests with fragment size. in testFullscreenGradient()
1131 addFunctionCaseWithPrograms(smokeTests.get(), "fullscreen_gradient", "", checkMeshSupport, initGradientPrograms, testFullscreenGradient, tcu::nothing<FragmentSize>()); in createMeshShaderSmokeTests()
1132 addFunctionCaseWithPrograms(smokeTests.get(), "fullscreen_gradient_fs2x2", "", checkMeshSupport, initGradientPrograms, testFullscreenGradient, tcu::just(FragmentSize::SIZE_2X2)); in createMeshShaderSmokeTests()
1133 addFunctionCaseWithPrograms(smokeTests.get(), "fullscreen_gradient_fs2x1", "", checkMeshSupport, initGradientPrograms, testFullscreenGradient, tcu::just(FragmentSize::SIZE_2X1)); in createMeshShaderSmokeTests()
H A DvktMeshShaderBuiltinTests.cpp150 tcu::Maybe<FragmentSize> fragmentSize;
679 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSize; in createInstance()
804 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSize; in createInstance()
942 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSize; in createInstance()
1019 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSize; in createInstance()
1090 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSize; in createInstance()
1202 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSize; in createInstance()
1323 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSize; in createInstance()
1456 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSize; in createInstance()
1567 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSiz in createInstance()
[all...]
H A DvktMeshShaderBuiltinTestsEXT.cpp151 tcu::Maybe<FragmentSize> fragmentSize;
807 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSize; in createInstance()
942 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSize; in createInstance()
1084 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSize; in createInstance()
1162 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSize; in createInstance()
1238 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSize; in createInstance()
1349 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSize; in createInstance()
1465 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSize; in createInstance()
1601 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSize; in createInstance()
1716 tcu::Nothing, // tcu::Maybe<FragmentSize> fragmentSiz in createInstance()
[all...]
H A DvktMeshShaderSmokeTestsEXT.cpp651 tcu::Maybe<FragmentSize> fragmentSize;
654 GradientParams (const tcu::Maybe<FragmentSize>& fragmentSize_, PipelineConstructionType constructionType_) in GradientParams()
811 const auto defaultFragmentSize = FragmentSize::SIZE_1X1; in testFullscreenGradient()
869 pNext->fragmentSize = getShadingRateSize(FragmentSize::SIZE_1X1); // 1x1 will not be used as the primitive rate in tests with fragment size. in testFullscreenGradient()
2067 addFunctionCaseWithPrograms(constructionGroup.get(), "fullscreen_gradient", "", checkMeshSupport, initGradientPrograms, testFullscreenGradient, GradientParams(tcu::nothing<FragmentSize>(), cType)); in createMeshShaderSmokeTestsEXT()
2068 addFunctionCaseWithPrograms(constructionGroup.get(), "fullscreen_gradient_fs2x2", "", checkMeshSupport, initGradientPrograms, testFullscreenGradient, GradientParams(tcu::just(FragmentSize::SIZE_2X2), cType)); in createMeshShaderSmokeTestsEXT()
2069 addFunctionCaseWithPrograms(constructionGroup.get(), "fullscreen_gradient_fs2x1", "", checkMeshSupport, initGradientPrograms, testFullscreenGradient, GradientParams(tcu::just(FragmentSize::SIZE_2X1), cType)); in createMeshShaderSmokeTestsEXT()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
H A DMCAssembler.cpp501 uint64_t FragmentSize = Asm.computeFragmentSize(Layout, F); in writeFragment() local
506 Asm.writeFragmentPadding(OS, *EF, FragmentSize); in writeFragment()
521 uint64_t Count = FragmentSize / AF.getValueSize(); in writeFragment()
526 if (Count * AF.getValueSize() != FragmentSize) in writeFragment()
530 Twine(FragmentSize) + "'"); in writeFragment()
601 for (uint64_t I = 0, E = FragmentSize / ChunkSize; I != E; ++I) in writeFragment()
605 unsigned TrailingCount = FragmentSize % ChunkSize; in writeFragment()
618 if (!Asm.getBackend().writeNopData(OS, FragmentSize)) in writeFragment()
620 Twine(FragmentSize) + " bytes"); in writeFragment()
634 for (uint64_t i = 0, e = FragmentSize; in writeFragment()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
H A DLocal.cpp1259 if (auto FragmentSize = DII->getFragmentSizeInBits()) in valueCoversEntireFragment()
1260 return ValueSize >= *FragmentSize; in valueCoversEntireFragment()
1266 if (auto FragmentSize = AI->getAllocationSizeInBits(DL)) in valueCoversEntireFragment()
1267 return ValueSize >= *FragmentSize; in valueCoversEntireFragment()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp1368 unsigned FragmentSize = (Offset + RegisterSize > BitsToDescribe) in handleDebugValue() local
1372 Expr, Offset, FragmentSize); in handleDebugValue()

Completed in 50 milliseconds