haikuwebkit/Websites/webkit.org/demos/webgpu
Myles C. Maxfield 52a8612b35 [WebGPU] Update Babylon WebGPU demos to work on ToT
https://bugs.webkit.org/show_bug.cgi?id=204182

Reviewed by Dean Jackson.

3 things were wrong:

- There seemed to be a bug in the loader script. I fixed the bug and added a local copy
  here so we don't have to keep hotlinking to the Babylon one.
- I had updated the helmet shaders in
  f7768ed430
  but I didn't update the sphere shaders.
- r252423 turned off the sphere rendering after 2 seconds. This patch removes that.

* demos/webgpu/babylon/babylonjs.loaders.min.js: Added.
(return):
(return.n.d):
(return.get n.r):
(return.n.t):
(return.):
(return.n.n):
(return.n.o):
* demos/webgpu/babylon/oneHelmetWebGPU.html:
* demos/webgpu/babylon/oneSphereWebGPU.html:
* demos/webgpu/babylon/oneSphereWebGPUWSLShaders.js:
(sampler.reflectionSamplerSampler.register):
(float3.normal.attribute): Deleted.
* demos/webgpu/babylon/vertexShaderGLSL1.glsl: Removed. Unnecessary.


Canonical link: https://commits.webkit.org/217485@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@252445 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-11-14 02:26:55 +00:00
..
babylon [WebGPU] Update Babylon WebGPU demos to work on ToT 2019-11-14 02:26:55 +00:00
css
resources [WebGPU] Upload Babylon.js, WSL compile, and MotionMark links to demo page 2019-09-10 01:39:57 +00:00
scripts Fix some WebGPU demos 2019-11-13 20:16:12 +00:00
compute-blur.html [WebGPU] Update messaging to reflect STP 92 requirement for demos 2019-09-19 19:36:35 +00:00
compute-boids-compile.html [WebGPU] Update messaging to reflect STP 92 requirement for demos 2019-09-19 19:36:35 +00:00
compute-boids.html [WebGPU] Update messaging to reflect STP 92 requirement for demos 2019-09-19 19:36:35 +00:00
hello-cube.html Fix some WebGPU demos 2019-11-13 20:16:12 +00:00
hello-triangle.html [WebGPU] Update messaging to reflect STP 92 requirement for demos 2019-09-19 19:36:35 +00:00
index.html [WebGPU] Upload Babylon.js, WSL compile, and MotionMark links to demo page 2019-09-10 01:39:57 +00:00
textured-cube.html Fix some WebGPU demos 2019-11-13 20:16:12 +00:00