{"id":75813,"date":"2020-03-28T19:42:24","date_gmt":"2020-03-28T17:42:24","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/collabora-razvivaet-nadstrojku-dlya-raboty-opencl-i-opengl-poverh-directx"},"modified":"2020-03-28T19:42:24","modified_gmt":"2020-03-28T17:42:24","slug":"collabora-razvivaet-nadstrojku-dlya-raboty-opencl-i-opengl-poverh-directx","status":"publish","type":"post","link":"https:\/\/prohoster.info\/hu\/blog\/news\/collabora-razvivaet-nadstrojku-dlya-raboty-opencl-i-opengl-poverh-directx","title":{"rendered":"A Collabora kifejleszt egy b\u0151v\u00edtm\u00e9nyt az OpenCL \u00e9s OpenGL DirectX feletti m\u0171k\u00f6d\u00e9s\u00e9hez.","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>A Collabora c\u00e9g <noindex><a rel=\"nofollow\" href=\"https:\/\/www.collabora.com\/news-and-blog\/news-and-events\/introducing-opencl-and-opengl-on-directx.html\">bemutatta<\/a><\/noindex> \u00daj Gallium-illeszt\u0151program a Mesa sz\u00e1m\u00e1ra, amely egy r\u00e9teget val\u00f3s\u00edt meg az OpenCL 1.2 \u00e9s OpenGL 3.3 API-k DirectX 12 (D3D12) t\u00e1mogat\u00e1s\u00e1n alapul\u00f3 illeszt\u0151programok felett val\u00f3 m\u0171k\u00f6d\u00e9s\u00e9hez. K\u00f3d <noindex><a rel=\"nofollow\" href=\"https:\/\/gitlab.freedesktop.org\/kusma\/mesa\/-\/tree\/msclc-d3d12\">megjelent<\/a><\/noindex> MIT licenc alatt \u00e1ll.<\/p>\n<p>A javasolt illeszt\u0151program lehet\u0151v\u00e9 teszi a Mesa haszn\u00e1lat\u00e1t olyan eszk\u00f6z\u00f6k\u00f6n, amelyek kezdetben nem t\u00e1mogatt\u00e1k az OpenCL-t \u00e9s az OpenGL-t, valamint kiindul\u00e1si alapk\u00e9nt szolg\u00e1l az OpenGL\/OpenCL-alkalmaz\u00e1sok D3D12 feletti portol\u00e1s\u00e1hoz. A GPU-gy\u00e1rt\u00f3k sz\u00e1m\u00e1ra a rendszer lehet\u0151s\u00e9get ad arra, hogy OpenCL \u00e9s OpenGL t\u00e1mogat\u00e1st ny\u00fajtsanak, ha csak D3D12-t t\u00e1mogat\u00f3 illeszt\u0151programok \u00e1llnak rendelkez\u00e9sre. <\/p>\n<p>A k\u00f6zelj\u00f6v\u0151 tervei k\u00f6z\u00f6tt szerepel az OpenCL 1.2 \u00e9s OpenGL 3.3 kompatibilit\u00e1si tesztjeinek teljes\u00edt\u00e9se, az alkalmaz\u00e1sokkal val\u00f3 kompatibilit\u00e1s ellen\u0151rz\u00e9se \u00e9s a fejleszt\u00e9sek integr\u00e1l\u00e1sa a Mesa f\u0151 \u00f6sszet\u00e9tel\u00e9be. A fejleszt\u00e9s a Microsoft m\u00e9rn\u00f6keivel egy\u00fctt zajlik, akik a    <noindex><a rel=\"nofollow\" href=\"https:\/\/devblogs.microsoft.com\/directx\/d3d12-translation-layer-and-d3d11on12-are-now-open-source\/\">ny\u00edlt<\/a><\/noindex> eszk\u00f6zk\u00e9szlet <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/microsoft\/D3D11On12\">D3D11On12<\/a><\/noindex> megold\u00e1s\u00e9rt felel\u0151s, amely lehet\u0151v\u00e9 teszi a j\u00e1t\u00e9kok \u00e1tkonvert\u00e1l\u00e1s\u00e1t D3D11-r\u0151l D3D12-re, \u00e9s a <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/microsoft\/D3D12TranslationLayer\">D3D12TranslationLayer<\/a><\/noindex>, amely a D3D12 felett val\u00f3s\u00edtja meg az alap grafikai primit\u00edveket. <\/p>\n<p>A megval\u00f3s\u00edt\u00e1s mag\u00e1ban foglalja a Gallium-illeszt\u0151programot, az OpenCL ford\u00edt\u00f3t, az OpenCL futtat\u00f3k\u00f6rnyezetet \u00e9s a NIR-to-DXIL \u00e1rny\u00e9kol\u00f3 ford\u00edt\u00f3t, amely a Mesa-ban alkalmazott NIR k\u00f6ztes represent\u00e1ci\u00f3t \u00e1tford\u00edtja a DirectX 12 \u00e1ltal t\u00e1mogatott DXIL (DirectX Intermediate Language) form\u00e1tumba, amely az LLVM 3.7 bitk\u00f3dj\u00e1n alapul (<noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/microsoft\/DirectXShaderCompiler\">DirectX Shader Compiler<\/a><\/noindex> a Microsoft-t\u00f3l, amely l\u00e9nyeg\u00e9ben egy kib\u0151v\u00edtett LLVM 3.7 \u00e1gazat). Az OpenCL ford\u00edt\u00f3 az LLVM projekten \u00e9s eszk\u00f6zk\u00e9szleten alapul. <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/KhronosGroup\/SPIRV-LLVM-Translator\">SPIRV-LLVM<\/a><\/noindex>.<\/p>\n<p>Az OpenCL kiterjeszt\u00e9sekkel rendelkez\u0151 forr\u00e1sk\u00f3dok a clang seg\u00edts\u00e9g\u00e9vel LLVM-f\u00e9le k\u00f6ztes pszeudok\u00f3dra (LLVM IR) ford\u00edt\u00f3dnak, amelyet ezut\u00e1n SPIR-V form\u00e1tum\u00fa OpenCL-yderek k\u00f6ztes reprezent\u00e1ci\u00f3j\u00e1ra alak\u00edtanak. A SPIR-V-ben l\u00e9v\u0151 magokat a Mesa-n kereszt\u00fcl tov\u00e1bb\u00edtj\u00e1k, \u00e1tkonvert\u00e1lj\u00e1k NIR form\u00e1tumba, optimaliz\u00e1lj\u00e1k, \u00e9s \u00e1tadj\u00e1k a NIR-to-DXIL-nek a DXIL form\u00e1tum\u00fa sz\u00e1m\u00edt\u00e1si \u00e1rny\u00e9kol\u00f3k gener\u00e1l\u00e1s\u00e1ra, amelyek a DirectX 12-alap\u00fa GPU-kon futtathat\u00f3k.<br \/>\nA Clover helyett, amelyet a Mesa OpenCL-implement\u00e1ci\u00f3j\u00e1ban alkalmaztak, \u00faj OpenCL futtat\u00f3k\u00f6rnyezetet javasolnak, amely lehet\u0151v\u00e9 teszi, hogy t\u00f6bb k\u00f6zvetlen \u00e1talak\u00edt\u00e1st v\u00e9gezzen a DirectX 12 API-ba.<\/p>\n<p><center><noindex><a rel=\"nofollow\" href=\"https:\/\/www.collabora.com\/assets\/images\/blog\/opencl-compiler-overview.png\"><img decoding=\"async\" alt=\"A Collabora kifejleszt egy b\u0151v\u00edtm\u00e9nyt az OpenCL \u00e9s OpenGL DirectX feletti m\u0171k\u00f6d\u00e9s\u00e9hez.\" src=\"\/wp-content\/uploads\/2020\/03\/194f364cee846f77fa730f828e4db726.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/a><\/noindex><\/center><\/p>\n<p>Az OpenCL \u00e9s OpenGL illeszt\u0151programokat a Mesa \u00e1ltal ny\u00fajtott Gallium interf\u00e9sz felhaszn\u00e1l\u00e1s\u00e1val k\u00e9sz\u00edtett\u00e9k, lehet\u0151v\u00e9 t\u00e9ve az illeszt\u0151programok l\u00e9trehoz\u00e1sa sor\u00e1n, hogy ne mer\u00fclj\u00f6n el az OpenGL-re jellemz\u0151 r\u00e9szletekben, \u00e9s az OpenGL h\u00edv\u00e1sokat a modern GPU-k \u00e1ltal kezelhet\u0151 grafikai primit\u00edvekhez k\u00f6zel\u00e1ll\u00f3 entit\u00e1sokra ford\u00edts\u00e1k. A Gallium-illeszt\u0151program az OpenGL parancsokat fogadja, a NIR-to-DXIL ford\u00edt\u00f3 bevon\u00e1s\u00e1val.<br \/>\nparancsbufereket k\u00e9pez, amelyeket a GPU-n hajtanak v\u00e9gre a D3D12 drivert haszn\u00e1lva.<\/p>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>Forr\u00e1s: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=52625\">opennet.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Collabora \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b\u0430 \u043d\u043e\u0432\u044b\u0439 Gallium-\u0434\u0440\u0430\u0439\u0432\u0435\u0440 \u0434\u043b\u044f Mesa, \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u044e\u0449\u0438\u0439 \u043f\u0440\u043e\u0441\u043b\u043e\u0439\u043a\u0443 \u0434\u043b\u044f \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u0440\u0430\u0431\u043e\u0442\u044b API OpenCL 1.2 \u0438 OpenGL 3.3 \u043f\u043e\u0432\u0435\u0440\u0445 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u043e\u0432 \u0441 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 DirectX 12 (D3D12). \u041a\u043e\u0434 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d \u043f\u043e\u0434 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0435\u0439 MIT. \u041f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0439 \u0434\u0440\u0430\u0439\u0432\u0435\u0440 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Mesa \u043d\u0430 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430\u0445, \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0449\u0438\u0445 OpenCL \u0438 OpenGL, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0441\u0442\u0430\u0440\u0442\u043e\u0432\u043e\u0439 \u043f\u043e\u0437\u0438\u0446\u0438\u0438 \u0434\u043b\u044f \u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f OpenGL\/OpenCL-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u043e\u0432\u0435\u0440\u0445 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":75814,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-75813","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Collabora \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b\u0430 \u043d\u043e\u0432\u044b\u0439 Gallium-\u0434\u0440\u0430\u0439\u0432\u0435\u0440 \u0434\u043b\u044f Mesa.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/hu\/blog\/news\/collabora-razvivaet-nadstrojku-dlya-raboty-opencl-i-opengl-poverh-directx\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"hu_HU\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47Collabora \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442 \u043d\u0430\u0434\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b OpenCL \u0438 OpenGL \u043f\u043e\u0432\u0435\u0440\u0445 DirectX | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Collabora \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b\u0430 \u043d\u043e\u0432\u044b\u0439 Gallium-\u0434\u0440\u0430\u0439\u0432\u0435\u0440 \u0434\u043b\u044f Mesa.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/hu\/blog\/news\/collabora-razvivaet-nadstrojku-dlya-raboty-opencl-i-opengl-poverh-directx\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-03-28T17:42:24+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-03-28T17:42:24+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47A Collabora fejleszti a kiterjeszt\u00e9st az OpenCL \u00e9s OpenGL DirectX f\u00f6l\u00f6tti m\u0171k\u00f6d\u00e9s\u00e9hez | ProHoster","description":"A Collabora bemutatta az \u00faj Gallium drivert a Mes\u00e1hoz.","canonical_url":"https:\/\/prohoster.info\/hu\/blog\/news\/collabora-razvivaet-nadstrojku-dlya-raboty-opencl-i-opengl-poverh-directx","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"hu_HU","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47Collabora \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442 \u043d\u0430\u0434\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b OpenCL \u0438 OpenGL \u043f\u043e\u0432\u0435\u0440\u0445 DirectX | ProHoster","og:description":"\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Collabora \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b\u0430 \u043d\u043e\u0432\u044b\u0439 Gallium-\u0434\u0440\u0430\u0439\u0432\u0435\u0440 \u0434\u043b\u044f Mesa.","og:url":"https:\/\/prohoster.info\/hu\/blog\/news\/collabora-razvivaet-nadstrojku-dlya-raboty-opencl-i-opengl-poverh-directx","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-03-28T17:42:24+00:00","article:modified_time":"2020-03-28T17:42:24+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"75813","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 17:48:44","updated":"2022-10-05 09:19:01","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/75813","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/comments?post=75813"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/posts\/75813\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media\/75814"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/media?parent=75813"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/categories?post=75813"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/hu\/wp-json\/wp\/v2\/tags?post=75813"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}