Results 545 comments of David Neto

Thanks for the offer to contribute! * I would be happy to accept the test you've given. * It's not excessively full of boilerplate code. It's readable and to the...

I recommend you build this from source. Or get prebuilt glslc executables from the Vulkan SDK.

> Please add a using alias of `cl_ndrange_kernel_command_properties_khr` to `cl_command_properties_khr`? You can aslo add a `[[deprecated]]` attribute to the using alias so that a warning shows up, allowing clients to...

> Enhanced integer support can benefit many things but primarily AI and video work where 8 and 16 bit buffers are common. When the buffer is a large array of...

Yeah. I used the Euclidean division definition for the unsigned case. https://en.wikipedia.org/wiki/Euclidean_division That's the one the ancient Greeks used, before real numbers were invented or really understood (or believed in)....

> As discussed this can likely be worked around via bitcast and a uint32 CAS with possible exception of NaNs https://www.w3.org/TR/WGSL/#bitcast-builtin Something like this. This uses a u32 cell in...

One thing to consider with the polyfill is: does it rely on a stronger forward progress guarantee that goes beyond what a normal atomic-float-add requires. If so then that may...

Sorry about that. I guess there's a bug in the code that transforms the grammer to be more recursive-friendly. The code that does the transformation is invoked [here](https://github.com/gpuweb/gpuweb/blob/main/wgsl/tools/analyze/lalr.py#L104) It's likely...

I think the analysis is mistaken. To derive 'uniform' as an _expression_: expression --> unary_expression relational_expression.post.unary_expression unary_expression --> primary_expression component_or_swizzle_specifier ? primary_expression --> ident template_elaborated_ident.post.ident ident --> 'uniform' template_elaborated_ident.post.ident ->...