mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 14:01:08 +01:00
Feature-gate include_spirv macro
This commit is contained in:
1 parent
145da6af8b
commit
afc1951f9f
1 file changed
+1
@@ -45,6 +45,7 @@ fn test_vertex_attr_array() {
|
||||
///
|
||||
/// It ensures the word alignment as well as the magic number.
|
||||
#[macro_export]
|
||||
#[cfg(feature = "spirv")]
|
||||
macro_rules! include_spirv {
|
||||
($($token:tt)*) => {
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user