Many of WebGPU Unleashed's playgrounds fails to compile shaders w/o automatic type conversion
Categories
(Core :: Graphics: WebGPU, defect)
Tracking
()
People
(Reporter: ErichDonGubler, Unassigned)
References
(Blocks 2 open bugs)
Details
Reporter | ||
Comment 1•1 year ago
|
||
Billboard
also fails: https://shi-yan.github.io/webgpuunleashed/code/code.html#2_05_billboard
Reporter | ||
Comment 2•1 year ago
|
||
Fake 3D
also fails: https://shi-yan.github.io/webgpuunleashed/code/code.html#2_06_fake_3d
Reporter | ||
Comment 3•1 year ago
|
||
Text Rendering
fails: https://shi-yan.github.io/webgpuunleashed/code/code.html?highlight=190:204#2_04_text
Reporter | ||
Comment 4•1 year ago
|
||
Equirectangle Rendering
also fails: https://shi-yan.github.io/webgpuunleashed/code/code.html#5_03_equalrectangle_rendering
Reporter | ||
Comment 5•1 year ago
|
||
Mega Texture
also fails: https://shi-yan.github.io/webgpuunleashed/code/code.html#5_04_mega_texture
Reporter | ||
Comment 6•1 year ago
|
||
Gaussian Splatting
also fails: https://shi-yan.github.io/webgpuunleashed/code/code.html#5_08_gaussian_splatting_5
Reporter | ||
Updated•1 year ago
|
Comment 7•7 months ago
•
|
||
Many are textureSampleLevel
(I am not sure whether that is expected to be addressed immediately by the function database, or may be a more complicated case). mega_texture is pow
.
gaussian_splatting_5 is about case selectors, https://github.com/gfx-rs/wgpu/issues/7225. It works in a local build with https://github.com/gfx-rs/wgpu/pull/7250, but is slow, so I noted it in https://bugzilla.mozilla.org/show_bug.cgi?id=1911493#c6.
Updated•7 months ago
|
Updated•7 months ago
|
Comment 8•6 months ago
|
||
mega texture is now:
Shader validation error: Entry point fs_main at Fragment is invalid
┌─ :54:12
│
54 │ return vec4(1.0,0.0,0.0,1.0);
│ ^^^^^^^^^^^^^^^^^^^^^ instructions after return
│
= There are instructions after `return`/`break`/`continue`
Comment 9•6 months ago
|
||
gaussian_splatting_5 now runs.
Billboard still fails with:
Shader validation error: Entry point fs_main at Fragment is invalid
┌─ :34:12
│
34 │ return textureSampleLevel(t_diffuse, s_diffuse, in.tex_coords, 0);
│ ^^^^^^^^^^^^^^^^^^ naga::ir::Expression [5]
│
= Expression [5] is invalid
= Sample level (exact) type [4] has an invalid type
Comment 10•6 months ago
•
|
||
The textureSampleLevel
issue is bug 1952980 / https://github.com/gfx-rs/wgpu/issues/7488.
I filed bug 1960406 / https://github.com/gfx-rs/wgpu/issues/7536 for the other.
(These bugs are now linked as blockers of the main WebGPU unleashed issue, bug 1911503.)
Reporter | ||
Comment 11•6 months ago
|
||
Closing this issue, as the symptoms of this specific bug are closed.
Reporter | ||
Updated•6 months ago
|
Description
•