Andre Weissflog
Andre Weissflog
Yes, compute shaders is planned afterward for the next 'big update' after this initial storage buffer support update. I need to come up with a 'resource barrier strategy' though, I'll...
Hmm, I'm somewhat sure that I had received compressed chunks when experimenting with streaming downloads, otherwise I wouldn't have gone to great length describing that scenario here: https://github.com/floooh/sokol/blob/751fc4c14a0cb80130ad8014f965ac62c7e89d34/sokol_fetch.h#L600-L638 If the...
> where a buffer is not pre-assigned... ...hmm, the cgltf-sapp.c sample works like that. The sfetch_send() calls don't assign a buffer: https://github.com/floooh/sokol-samples/blob/32d1a2e27592a486bcd248aba02f1943f039d443/sapp/cgltf-sapp.c#L284-L287 https://github.com/floooh/sokol-samples/blob/32d1a2e27592a486bcd248aba02f1943f039d443/sapp/cgltf-sapp.c#L578-L582 https://github.com/floooh/sokol-samples/blob/32d1a2e27592a486bcd248aba02f1943f039d443/sapp/cgltf-sapp.c#L655-L659 ...and the buffer is assigned inside...
> Also am i right in thinking assinging the buffer in dispatch will cause an additional frame delay? It actually shouldn't because the dispatch callback is 'short-circuited' as soon as...
I wonder if the "lazy" texture/sampler validation could be solved in a compatible way by adding two new enum items: `GPUTextureSampleType.unknown` and `GPUSamplerBindingType.unknown`. Specifying those in a BindGroupLayout would delay...
This is a wonderful project :) Are you interested in some PRs which would improve the "web experience"? I have a few things in mind, although one would be quite...
> However the code is already using window.open Ah, I remember what's the problem. The code must be run from inside an input event handler (this is a typical restriction...
> Is your imgui highdpi example the best we can expect for font rendering in the browser? Unfortunately the imgui-highdpi demo only looks good on an actual highdpi display, on...
Hi, there's another input-related request here: https://github.com/floooh/sokol/issues/283, it's not really closely related, but all in all it looks like the current sokol_app.h input model isn't flexible enough for different usage...
That's indeed weird. The info you posted looks good as far as I can see. Also, what GPU and driver version do you have? > If i use it for...