Dzmitry Malyshau
Dzmitry Malyshau
> So either we split them out into two separate defs or call it something like WEBGPU_SEMANTICS? Yep > uniform uColor { vec4 color; }; can't be compiled in "GL330...
You can write GLSL in the way that exposes a uniform buffer via a single global variable, similar to how Metal sees that. I just tested it on [shader playground](http://shader-playground.timjones.io/5f25e4832485ed24b9bd475c2a2dfe99)....
@rsms the portable native WebGPU API is the C Header (https://github.com/webgpu-native/webgpu-headers), not the "wire", FYI. wgpu-rs currently targets the Web and wgpu-core, but we fully intend to make it target...
@bholley interesting point! Can't we solve this by simply: ```rust impl Gl for Rc {...} ```
@nox so we are basically ready to land this, just waiting for a moment to do the breaking change?
I don't understand. Why are we calling it with an empty slice? If we are to verify the slice, we need to ensure proper length, not just check for emptiness...
> The tex_image_2d() already could accept null() and create a empty texture. I think the "empty slice" should have the same semantic. That's why I only convert the empty slice...
@antrik thanks for taking your time to respond! > is there a specific situation where you are running into this problem? I don't think the specifics are important here. The...
> many objects do need to be destroyed when leaving the process Do you mean the standard library objects (`Vec`, `Arc`, etc) or the actual Servo's primitives? If move semantics...
No rush on this, of course, but I figured we need to have an issue at least to keep rusttype on our radars;)