Jean-Marc Le Roux

Results 210 comments of Jean-Marc Le Roux
trafficstars

I got a strange validation error using the following `struct` and `bytemuck`: ```wgsl struct Material { color: vec3 } ``` This code does not work ❌ : ```rust let material...

> But this code works ✅ (with https://github.com/teoxoy/encase/pull/23) : It is worth mentioning that `Material::min_size() == 16` which, AFAIK is the goal when using `encase` vs `bytemuck`. So if we...

> It would be great if the generator explicitly disallowed vec3, or automatically added padding, because this seems like a very common pitfall. Would it make sense to add private...

> One approach is to only forbid types like vec3 when deriving bytemuck Won't we have the exact problem with `array` (just an example)?

@praydog so it means the "right"/only way to deal with those very low res textures is to switch to DX11?

I was thinking of something similar, albeit more focused on the type parameters (and not the properties): ```rust #[derive(serde::Serialize, serde::Deserialize, utoipa::ToSchema)] struct Pet { id: u64, name: String, age: Option,...

Hello, Would this work help for https://github.com/Genymobile/scrcpy/issues/1939#issuecomment-811193380 ? Regards,

+1 I have the same error. ``` vagrant/www/node_modules/keystone/node_modules/jade/node_modules/constantinople/node_modules/acorn/dist/acorn.js:2275 _classCallCheck(this, TokContext); ^ ReferenceError: TokContext is not defined at new TokContext (/vagrant/www/node_modules/keystone/node_modules/jade/node_modules/constantinople/node_modules/acorn/dist/acorn.js:2275:25) at Object../state (/vagrant/www/node_modules/keystone/node_modules/jade/node_modules/constantinople/node_modules/acorn/dist/acorn.js:2285:11) at s (/vagrant/www/node_modules/keystone/node_modules/jade/node_modules/constantinople/node_modules/acorn/dist/acorn.js:1:681) at /vagrant/www/node_modules/keystone/node_modules/jade/node_modules/constantinople/node_modules/acorn/dist/acorn.js:1:732 at Object../expression...

Most likely related to/caused by https://github.com/bytecodealliance/cargo-component/issues/144

Wow! Looks like you done some impressive work. I'll let Warren answer the built system stuff. We have made progress for cygwin, especially for the Android build. Maybe there are...