{"id":269263,"date":"2023-04-21T09:00:03","date_gmt":"2023-04-21T01:00:03","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=269263"},"modified":"2023-04-20T22:24:52","modified_gmt":"2023-04-20T14:24:52","slug":"chrome-webgpu","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/chrome-webgpu.html","title":{"rendered":"Chrome \u56e2\u961f\u5ba3\u5e03\u53d1\u5e03 WebGPU \u5b9e\u73b0\uff01"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\nChrome \u56e2\u961f\u5ba3\u5e03\uff0c\u7ecf\u8fc7\u591a\u5e74\u7684\u5f00\u53d1\uff0c\u4ed6\u4eec\u7ec8\u4e8e\u53d1\u5e03\u4e86 WebGPU \u5b9e\u73b0\uff0c\u76ee\u524d\u5df2\u5728 Chrome 113 Beta \u4e2d\u9ed8\u8ba4\u542f\u7528\u3002WebGPU \u53ef\u7528\u4e8e\u5728 Web \u4e0a\u8fdb\u884c\u9ad8\u6027\u80fd 3D \u56fe\u5f62\u548c\u6570\u636e\u5e76\u884c\u8ba1\u7b97\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

WebGPU \u521d\u59cb\u7248\u672c\u53ef\u4ee5\u5728 ChromeOS\u3001macOS \u548c Windows \u4e0a\u4f7f\u7528\uff0c\u5bf9\u5176\u4ed6\u5e73\u53f0\u7684\u652f\u6301\u5c06\u4e8e\u4eca\u5e74\u665a\u4e9b\u65f6\u5019\u63a8\u51fa\u3002<\/p>\n

\"\"<\/p>\n

WebGPU \u662f\u7531 W3C GPU for the Web \u793e\u533a\u7ec4\u6240\u53d1\u5e03\u7684\u89c4\u8303\uff0c\u76ee\u6807\u662f\u5141\u8bb8\u7f51\u9875\u4ee3\u7801\u4ee5\u9ad8\u6027\u80fd\u4e14\u5b89\u5168\u53ef\u9760\u7684\u65b9\u5f0f\u8bbf\u95ee GPU \u529f\u80fd\u3002WebGPU \u662f\u4e00\u5957\u4e3a\u6d4f\u89c8\u5668\u8bbe\u8ba1\u7684\u56fe\u5f62 API \u6807\u51c6\uff0c\u4e3a\u4e86\u5f25\u5408\u5404\u4e2a\u5e73\u53f0\u56fe\u5f62 API \u7684\u5dee\u5f02\u6027\uff0c\u5b83\u5bf9 DirectX12\u3001Vulkan\u3001Metal \u8fdb\u884c\u4e86\u878d\u5408\u548c\u5c01\u88c5\u3002\u501f\u52a9 WebGPU\uff0c\u53ef\u4ee5\u5145\u5206\u91ca\u653e\u73b0\u4ee3 GPU \u786c\u4ef6\u7684\u5f3a\u5927\u80fd\u529b\uff0c\u8ba9\u5f00\u53d1\u8005\u53ef\u4ee5\u7528 TS\/JS \u5728 Web \u7aef\u4e5f\u5f00\u53d1\u5ab2\u7f8e\u539f\u751f\u8868\u73b0\u529b\u7684\u573a\u666f\uff0c\u5b9e\u73b0\u66f4\u5927\u578b\u66f4\u590d\u6742\u7684 3D \u573a\u666f\u8868\u73b0\uff0c\u751a\u81f3\u4f7f\u7528\u73b0\u4ee3 GPU \u7684\u901a\u7528\u8ba1\u7b97\u80fd\u529b\u5b8c\u6210\u4e4b\u524d\u65e0\u6cd5\u60f3\u50cf\u7684\u590d\u6742\u8ba1\u7b97\u4efb\u52a1\u3002<\/p>\n

Chrome \u56e2\u961f\u8868\u793a\uff0cWebGPU \u662f\u4e00\u79cd\u65b0\u7684 Web \u56fe\u5f62 API\uff0c\u5177\u6709\u663e\u7740\u7684\u4f18\u52bf\uff0c\u6bd4\u5982\u5927\u5e45\u51cf\u5c11\u76f8\u540c\u56fe\u5f62\u7684 JavaScript \u5de5\u4f5c\u91cf\uff0c\u4ee5\u53ca\u4e3a\u673a\u5668\u5b66\u4e60\u6a21\u578b\u63a8\u7406\u63d0\u4f9b 3 \u500d\u4ee5\u4e0a\u7684\u6539\u8fdb\u3002\u56e0\u4e3a WebGPU \u63d0\u4f9b\u4e86\u66f4\u7075\u6d3b\u7684 GPU \u7f16\u7a0b\u548c\u8bbf\u95ee\uff0c\u4ece\u800c\u5b9e\u73b0 WebGL \u65e0\u6cd5\u63d0\u4f9b\u7684\u9ad8\u7ea7\u529f\u80fd\u3002<\/p>\n

\u6d4f\u89c8\u5668\u652f\u6301<\/strong><\/div>\n

WebGPU \u7684\u521d\u59cb\u7248\u672c\u53ef\u5728\u652f\u6301 Vulkan \u7684 ChromeOS \u8bbe\u5907\u3001\u652f\u6301 Direct3D 12 \u7684 Windows \u8bbe\u5907\u548c macOS \u7684 Chrome 113 \u4e2d\u4f7f\u7528\u3002Linux\u3001Android \u548c\u5bf9\u73b0\u6709\u5e73\u53f0\u7684\u6269\u5c55\u652f\u6301\u5373\u5c06\u63a8\u51fa\u3002 \u9664\u4e86\u5728 Chrome \u4e2d\u7684\u521d\u6b65\u5b9e\u73b0\u4e4b\u5916\uff0c\u76ee\u524d Firefox \u548c Safari \u4e5f\u6b63\u5728\u5f00\u53d1\u5176 WebGPU \u5b9e\u73b0\u3002<\/p>\n

\u5e93\u652f\u6301<\/strong><\/div>\n
    \n
  • Babylon.js\u00a0<\/strong>\u5df2\u7ecf\u5b8c\u5168\u652f\u6301 WebGPU\uff0c\u67e5\u770b demo<\/li>\n
  • PlayCanvas<\/strong>\u00a0\u5ba3\u5e03\u521d\u6b65\u652f\u6301\u00a0WebGPU<\/li>\n
  • TensorFlow.js\u00a0<\/strong>\u652f\u6301\u5927\u591a\u6570\u8fd0\u7b97\u7b26\u7684 WebGPU \u4f18\u5316\u7248\u672c<\/li>\n
  • Three.js\u00a0<\/strong>\u5bf9 WebGPU \u7684\u652f\u6301\u6b63\u5728\u8fdb\u884c\u4e2d\uff0c\u67e5\u770b\u793a\u4f8b<\/li>\n<\/ul>\n
    \n
    \u5ef6\u4f38\u9605\u8bfb<\/strong><\/div>\n
      \n
    • WebGPU \u6beb\u65e0\u7591\u95ee\u4f1a\u5728\u672a\u6765\u53d6\u4ee3 WebGL<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"

      WebGPU \u521d\u59cb\u7248\u672c\u53ef\u4ee5\u5728 ChromeOS\u3001macOS \u548c Windows \u4e0a\u4f7f\u7528\uff0c\u5bf9\u5176\u4ed6\u5e73\u53f0\u7684\u652f\u6301\u5c06\u4e8e\u4eca […]<\/p>\n","protected":false},"author":323,"featured_media":269265,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-269263","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/269263","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/323"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=269263"}],"version-history":[{"count":2,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/269263\/revisions"}],"predecessor-version":[{"id":270084,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/269263\/revisions\/270084"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/269265"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=269263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=269263"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=269263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}