internal use only
converts a type expression into its wgpu::BindingType equivalent. this only works for the
subset of types that do not use the pseudo generics notation. which is to say Buffers,
StorageBuffers, and Samplers.
for internal use only.
converts a visibility expression into its equivalent wgpu::ShaderStage bitflag
representation. only works on expression of up to three items.