Skip to content

Commit

Permalink
Deploying to gh-pages from @ 92bb1a3 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Mar 8, 2024
1 parent 4e79362 commit 056b6b3
Show file tree
Hide file tree
Showing 87 changed files with 29 additions and 195 deletions.
6 changes: 0 additions & 6 deletions sample/a-buffer/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sample/a-buffer/main.js.map

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions sample/a-buffer/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ const opaquePipeline = device.createRenderPipeline({
layout: 'auto',
vertex: {
module: opaqueModule,
entryPoint: 'main_vs',
buffers: [
{
arrayStride: 3 * Float32Array.BYTES_PER_ELEMENT,
Expand All @@ -102,7 +101,6 @@ const opaquePipeline = device.createRenderPipeline({
},
fragment: {
module: opaqueModule,
entryPoint: 'main_fs',
targets: [
{
format: presentationFormat,
Expand Down Expand Up @@ -205,7 +203,6 @@ const translucentPipeline = device.createRenderPipeline({
}),
vertex: {
module: translucentModule,
entryPoint: 'main_vs',
buffers: [
{
arrayStride: 3 * Float32Array.BYTES_PER_ELEMENT,
Expand All @@ -221,7 +218,6 @@ const translucentPipeline = device.createRenderPipeline({
},
fragment: {
module: translucentModule,
entryPoint: 'main_fs',
targets: [
{
format: presentationFormat,
Expand Down Expand Up @@ -293,11 +289,9 @@ const compositePipeline = device.createRenderPipeline({
}),
vertex: {
module: compositeModule,
entryPoint: 'main_vs',
},
fragment: {
module: compositeModule,
entryPoint: 'main_fs',
targets: [
{
format: presentationFormat,
Expand Down
2 changes: 0 additions & 2 deletions sample/animometer/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sample/animometer/main.js.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions sample/animometer/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ const pipelineDesc: GPURenderPipelineDescriptor = {
layout: 'auto',
vertex: {
module: shaderModule,
entryPoint: 'vert_main',
buffers: [
{
// vertex buffer
Expand All @@ -121,7 +120,6 @@ const pipelineDesc: GPURenderPipelineDescriptor = {
},
fragment: {
module: shaderModule,
entryPoint: 'frag_main',
targets: [
{
format: presentationFormat,
Expand Down
6 changes: 0 additions & 6 deletions sample/bitonicSort/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sample/bitonicSort/main.js.map

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions sample/bitonicSort/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,6 @@ SampleInitFactoryWebGPU(
module: device.createShaderModule({
code: NaiveBitonicCompute(settings['Workgroup Size']),
}),
entryPoint: 'computeMain',
},
});

Expand All @@ -307,7 +306,6 @@ SampleInitFactoryWebGPU(
module: device.createShaderModule({
code: atomicToZero,
}),
entryPoint: 'atomicToZero',
},
});

Expand Down Expand Up @@ -427,7 +425,6 @@ SampleInitFactoryWebGPU(
Math.min(settings['Total Elements'] / 2, settings['Size Limit'])
),
}),
entryPoint: 'computeMain',
},
});
// Randomize array elements
Expand Down Expand Up @@ -544,7 +541,6 @@ SampleInitFactoryWebGPU(
Math.min(settings['Total Elements'] / 2, settings['Size Limit'])
),
}),
entryPoint: 'computeMain',
},
});
// Create new config key for current element + size limit configuration
Expand Down
2 changes: 0 additions & 2 deletions sample/bitonicSort/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,13 +203,11 @@ export abstract class Base2DRendererClass {
module: device.createShaderModule({
code: fullscreenTexturedQuad,
}),
entryPoint: 'vert_main',
},
fragment: {
module: device.createShaderModule({
code: code,
}),
entryPoint: 'frag_main',
targets: [
{
format: presentationFormat,
Expand Down
2 changes: 0 additions & 2 deletions sample/cameras/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sample/cameras/main.js.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions sample/cameras/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ const pipeline = device.createRenderPipeline({
module: device.createShaderModule({
code: cubeWGSL,
}),
entryPoint: 'vertex_main',
buffers: [
{
arrayStride: cubeVertexSize,
Expand All @@ -94,7 +93,6 @@ const pipeline = device.createRenderPipeline({
module: device.createShaderModule({
code: cubeWGSL,
}),
entryPoint: 'fragment_main',
targets: [
{
format: presentationFormat,
Expand Down
3 changes: 0 additions & 3 deletions sample/computeBoids/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sample/computeBoids/main.js.map

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions sample/computeBoids/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ const renderPipeline = device.createRenderPipeline({
layout: 'auto',
vertex: {
module: spriteShaderModule,
entryPoint: 'vert_main',
buffers: [
{
// instanced particles buffer
Expand Down Expand Up @@ -82,7 +81,6 @@ const renderPipeline = device.createRenderPipeline({
},
fragment: {
module: spriteShaderModule,
entryPoint: 'frag_main',
targets: [
{
format: presentationFormat,
Expand All @@ -100,7 +98,6 @@ const computePipeline = device.createComputePipeline({
module: device.createShaderModule({
code: updateSpritesWGSL,
}),
entryPoint: 'main',
},
});

Expand Down
4 changes: 0 additions & 4 deletions sample/cornell/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sample/cornell/main.js.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions sample/cornell/rasterizer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,10 @@ export default class Rasterizer {
}),
vertex: {
module: mod,
entryPoint: 'vs_main',
buffers: scene.vertexBufferLayout,
},
fragment: {
module: mod,
entryPoint: 'fs_main',
targets: [{ format: framebuffer.format }],
},
primitive: {
Expand Down
1 change: 0 additions & 1 deletion sample/cornell/raytracer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ export default class Raytracer {
module: device.createShaderModule({
code: raytracerWGSL + common.wgsl,
}),
entryPoint: 'main',
constants: {
WorkgroupSizeX: this.kWorkgroupSizeX,
WorkgroupSizeY: this.kWorkgroupSizeY,
Expand Down
1 change: 0 additions & 1 deletion sample/cornell/tonemapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ export default class Tonemapper {
layout: pipelineLayout,
compute: {
module: mod,
entryPoint: 'main',
constants: {
WorkgroupSizeX: this.kWorkgroupSizeX,
WorkgroupSizeY: this.kWorkgroupSizeY,
Expand Down
2 changes: 0 additions & 2 deletions sample/cubemap/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sample/cubemap/main.js.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions sample/cubemap/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ const pipeline = device.createRenderPipeline({
module: device.createShaderModule({
code: basicVertWGSL,
}),
entryPoint: 'main',
buffers: [
{
arrayStride: cubeVertexSize,
Expand All @@ -68,7 +67,6 @@ const pipeline = device.createRenderPipeline({
module: device.createShaderModule({
code: sampleCubemapWGSL,
}),
entryPoint: 'main',
targets: [
{
format: presentationFormat,
Expand Down
Loading

0 comments on commit 056b6b3

Please sign in to comment.