Skip to content

Commit

Permalink
revert translations entryPoints
Browse files Browse the repository at this point in the history
not sure what to do here. I'm hoping
showing the entry points the explanation
will at least match the translation and
is not wrong but the actual example code
will not have entryPoints

Hopefully someone will update the individual
translations.
  • Loading branch information
greggman committed May 2, 2024
1 parent 06b000a commit 055e7b7
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions webgpu/lessons/ja/webgpu-fundamentals.md
Original file line number Diff line number Diff line change
Expand Up @@ -383,9 +383,11 @@ WebGPUで生成するオブジェクトは、ほぼすべてについて`label`
layout: 'auto',
vertex: {
module,
entryPoint: 'vs',
},
fragment: {
module,
entryPoint: 'fs',
targets: [{ format: presentationFormat }],
},
});
Expand Down Expand Up @@ -624,6 +626,7 @@ function dispatchWorkgroup(workgroup_id) {
layout: 'auto',
compute: {
module,
entryPoint: 'computeSomething',
},
});
```
Expand Down
3 changes: 3 additions & 0 deletions webgpu/lessons/ko/webgpu-fundamentals.md
Original file line number Diff line number Diff line change
Expand Up @@ -357,9 +357,11 @@ GPU가 삼각형을 래스터화(rasterize)할 때(즉, 픽셀로 그릴 때),
layout: 'auto',
vertex: {
module,
entryPoint: 'vs',
},
fragment: {
module,
entryPoint: 'fs',
targets: [{ format: presentationFormat }],
},
});
Expand Down Expand Up @@ -611,6 +613,7 @@ function dispatchWorkgroup(workgroup_id) {
layout: 'auto',
compute: {
module,
entryPoint: 'computeSomething',
},
});
```
Expand Down
3 changes: 3 additions & 0 deletions webgpu/lessons/ru/webgpu-fundamentals.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,9 +322,11 @@ JavaScript'те `Array.map(function(value, index) { ... })`. Если мы го
layout: 'auto',
vertex: {
module,
entryPoint: 'vs',
},
fragment: {
module,
entryPoint: 'fs',
targets: [{ format: presentationFormat }],
},
});
Expand Down Expand Up @@ -549,6 +551,7 @@ function dispatchWorkgroup(workgroup_id) {
layout: 'auto',
compute: {
module,
entryPoint: 'computeSomething',
},
});
```
Expand Down
3 changes: 3 additions & 0 deletions webgpu/lessons/uk/webgpu-fundamentals.md
Original file line number Diff line number Diff line change
Expand Up @@ -421,9 +421,11 @@ main();
layout: 'auto',
vertex: {
module,
entryPoint: 'vs',
},
fragment: {
module,
entryPoint: 'fs',
targets: [{ format: presentationFormat }],
},
});
Expand Down Expand Up @@ -705,6 +707,7 @@ function dispatchWorkgroup(workgroup_id) {
layout: 'auto',
compute: {
module,
entryPoint: 'computeSomething',
},
});
```
Expand Down
3 changes: 3 additions & 0 deletions webgpu/lessons/zh_cn/webgpu-fundamentals.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,9 +306,11 @@ const pipeline = device.createRenderPipeline({
layout: 'auto',
vertex: {
module,
entryPoint: 'vs',
},
fragment: {
module,
entryPoint: 'fs',
targets: [{ format: presentationFormat }],
},
});
Expand Down Expand Up @@ -526,6 +528,7 @@ const pipeline = device.createComputePipeline({
layout: 'auto',
compute: {
module,
entryPoint: 'computeSomething',
},
});
```
Expand Down

0 comments on commit 055e7b7

Please sign in to comment.