Files
wgpu/src
Jim Blandy 5d631d9e2d [glsl-out] Generate GLSL for arbitrary global types, per Naga IR.
Delete `GlobalTypeKind`.

Break out `Writer::write_global`'s code into two new functions,
`write_simple_global` and `write_interface_block`. This introduces
some repeated code, but the way we need to produce interface blocks
and normal globals are sufficiently different that I think it's
clearer overall to just separate them entirely. Much of the details
are handled by their callees.

Loosen the interface block code to support arbitrary types.
2022-04-14 11:45:42 -07:00
..
2022-02-03 13:27:21 -05:00
2022-04-14 09:36:53 -07:00
2022-04-14 09:36:53 -07:00
2022-02-03 13:27:21 -05:00