diff --git a/webgpu/lessons/ja/webgpu-fundamentals.md b/webgpu/lessons/ja/webgpu-fundamentals.md index c6d7dd19..442d7787 100644 --- a/webgpu/lessons/ja/webgpu-fundamentals.md +++ b/webgpu/lessons/ja/webgpu-fundamentals.md @@ -383,9 +383,11 @@ WebGPUで生成するオブジェクトは、ほぼすべてについて`label` layout: 'auto', vertex: { module, + entryPoint: 'vs', }, fragment: { module, + entryPoint: 'fs', targets: [{ format: presentationFormat }], }, }); @@ -624,6 +626,7 @@ function dispatchWorkgroup(workgroup_id) { layout: 'auto', compute: { module, + entryPoint: 'computeSomething', }, }); ``` diff --git a/webgpu/lessons/ko/webgpu-fundamentals.md b/webgpu/lessons/ko/webgpu-fundamentals.md index 0c4b3775..640b3865 100644 --- a/webgpu/lessons/ko/webgpu-fundamentals.md +++ b/webgpu/lessons/ko/webgpu-fundamentals.md @@ -357,9 +357,11 @@ GPU가 삼각형을 래스터화(rasterize)할 때(즉, 픽셀로 그릴 때), layout: 'auto', vertex: { module, + entryPoint: 'vs', }, fragment: { module, + entryPoint: 'fs', targets: [{ format: presentationFormat }], }, }); @@ -611,6 +613,7 @@ function dispatchWorkgroup(workgroup_id) { layout: 'auto', compute: { module, + entryPoint: 'computeSomething', }, }); ``` diff --git a/webgpu/lessons/ru/webgpu-fundamentals.md b/webgpu/lessons/ru/webgpu-fundamentals.md index bf57a83b..f69b0eb4 100644 --- a/webgpu/lessons/ru/webgpu-fundamentals.md +++ b/webgpu/lessons/ru/webgpu-fundamentals.md @@ -322,9 +322,11 @@ JavaScript'те `Array.map(function(value, index) { ... })`. Если мы го layout: 'auto', vertex: { module, + entryPoint: 'vs', }, fragment: { module, + entryPoint: 'fs', targets: [{ format: presentationFormat }], }, }); @@ -549,6 +551,7 @@ function dispatchWorkgroup(workgroup_id) { layout: 'auto', compute: { module, + entryPoint: 'computeSomething', }, }); ``` diff --git a/webgpu/lessons/uk/webgpu-fundamentals.md b/webgpu/lessons/uk/webgpu-fundamentals.md index f6d3c268..31a78023 100644 --- a/webgpu/lessons/uk/webgpu-fundamentals.md +++ b/webgpu/lessons/uk/webgpu-fundamentals.md @@ -421,9 +421,11 @@ main(); layout: 'auto', vertex: { module, + entryPoint: 'vs', }, fragment: { module, + entryPoint: 'fs', targets: [{ format: presentationFormat }], }, }); @@ -705,6 +707,7 @@ function dispatchWorkgroup(workgroup_id) { layout: 'auto', compute: { module, + entryPoint: 'computeSomething', }, }); ``` diff --git a/webgpu/lessons/zh_cn/webgpu-fundamentals.md b/webgpu/lessons/zh_cn/webgpu-fundamentals.md index 6c8dfb8a..dbadeb52 100644 --- a/webgpu/lessons/zh_cn/webgpu-fundamentals.md +++ b/webgpu/lessons/zh_cn/webgpu-fundamentals.md @@ -306,9 +306,11 @@ const pipeline = device.createRenderPipeline({ layout: 'auto', vertex: { module, + entryPoint: 'vs', }, fragment: { module, + entryPoint: 'fs', targets: [{ format: presentationFormat }], }, }); @@ -526,6 +528,7 @@ const pipeline = device.createComputePipeline({ layout: 'auto', compute: { module, + entryPoint: 'computeSomething', }, }); ```