Skip to content

Instantly share code, notes, and snippets.

View greggman's full-sized avatar
😁

Greggman greggman

😁
View GitHub Profile
@greggman
greggman / README.md
Created February 16, 2024 01:44
WebGPU Cube (test that manual matching bindGroupLayouts are compatible with each other)
View README.md

WebGPU Cube (test that manual matching bindGroupLayouts are compatible with each other)

view on jsgist

@greggman
greggman / README.md
Last active February 15, 2024 00:40
WebGPU CTS fragment builtins multisampling sample_index triangles
View README.md

WebGPU CTS fragment builtins multisampling sample_index triangles

view on jsgist

@greggman
greggman / README.md
Created February 10, 2024 01:07
WebGPU Cube (using bindGroupLayout from different layout: 'auto' pipeline doesn't generate validation error - but should!)
View README.md

WebGPU Cube (using bindGroupLayout from different layout: 'auto' pipeline doesn't generate validation error - but should!)

view on jsgist

@greggman
greggman / README.md
Last active February 8, 2024 22:09
WebGPU Test - Mess up indirect draw by updating indirect buffers
View README.md

WebGPU Test - Mess up indirect draw by updating indirect buffers

view on jsgist

@greggman
greggman / cts.md
Created February 8, 2024 18:32
WebGPU CTS Notes
View cts.md

maxBindGroupsPlusVertexBuffers

This test is not testable in Chrome as of v123 because in Chrome maxBindGroupsPlusVertexBuffers is equal to maxBindGroups + maxVertexBuffers which mean you can't generate something large enough to test.

To test the test itself though, you can paste this into the CTS and you'll also need to set the expected value of maxBindGroupsPlusVertexBuffers in capability_info.js to 12

@greggman
greggman / README.md
Created February 6, 2024 22:35
WebGPU Simple Textured Quad - Import Video through canvas 2d getImageData
View README.md

WebGPU Simple Textured Quad - Import Video through canvas 2d getImageData

view on jsgist

@greggman
greggman / README.md
Last active January 30, 2024 03:05
WebGPU Cube using 32 textures (16 per stage)
View README.md
@greggman
greggman / README.md
Last active January 29, 2024 18:30
Test offscreen canvas resize WebGL
View README.md