Closed
Description
Expected Behaviour
Using u32::leading_zeros()
in any shader errors with:
error: extension SPV_INTEL_shader_integer_functions2 is required
[...]
note: used from within `<u32>::leading_zeros`
This should not even need some intel-specific extension, that function probably exists already in the GL450
extension. Especially since some hardware (AMD) has special instructions for bit counting.
System Info
rust-gpu master forked from 1932353