Comments (8)
@cx20
一度全体的に把握してみるとsetSubDataのほうが多壊れています。
平日に変更点を把握して修正するようにします。
from redgpu.
@cx20
パーティクルも処理した。
GPUBuffer.setSubData is deprecated。も近いうちに解決そうです。
from redgpu.
@cx20 WebGPUのDescriptor仕様が変更されました。
bindings===> entries
二箇所を修正すると、動作します。
from redgpu.
@cx20
修正し始めました。
釘ボンサイ多くの変化があったかですね^^
from redgpu.
@cx20
テクスチャビューを作成して管理する部分の変化があるのは明らかだがもしかしたら助けてくれるようなことはありますか?
現在
パーティクルを除いた大部分の動作が使用可能になりました。
バッファのsetSubDataはマッピングされたバッファに移動行けばそうですが。より確実なポイントをキャッチするためにいくつかの方面にテスト中です。
from redgpu.
@cx20 fixed all deprecated API.
from redgpu.
@redcamel Thanks for fixing. However, I got an error with the Triangle sample.
https://cx20.github.io/webgpu-test/examples/redgpu/triangle/index.html
BaseMaterial.js:22
Uncaught (in promise) TypeError: Failed to execute 'createBindGroupLayout' on 'GPUDevice': required member entries is undefined.
at makeUniformBindLayout (BaseMaterial.js:22)
at new BaseMaterial (BaseMaterial.js:63)
at new VertexColorMaterial (index.js:37)
at RedGPUContext.<anonymous> (index.js:90)
at RedGPUContext.js:166
uniformsBindGroupLayoutDescriptor
{bindings: Array(0)}
bindings: Array(0)
Perhaps the bindings
needs to be changed to entries
,.
from redgpu.
@redcamel Sorry. It was my mistake. After fixing the sample as you say, it now works with Chrome Canary.
from redgpu.
Related Issues (20)
- View Instance - setLocation 음수값도 받아주도록 수정 HOT 1
- 샘플작성 HOT 1
- instancing Object HOT 3
- 하이라키 직렬화 HOT 1
- pivot point 처리 HOT 1
- setSubData 부분 수동작성부분 동적으로 생성될수있도록 연구 HOT 1
- CPU base Particle 포팅 HOT 1
- Mesh Filter HOT 2
- View의 최종 렌더를 2D 좌표기반 draw로 변경해야함
- Camera => Camera3D and Camera2D HOT 1
- check - Binding sizes too small HOT 1
- createBufferMapped is deprecated HOT 2
- defaultQueue is deprecated HOT 5
- How to render multi-views?
- Use the library to convert from GLSL (SPIR-V) to WGSL HOT 6
- Shader port wgsl
- PostEffect Management System Research
- Fix RenderScale Calculation for ViewSize HOT 2
- implement getter for view.pixelLocationForTexture , view.pixelSizeForTexture . HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redgpu.