mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Feature-gate include_spirv macro
This commit is contained in:
@@ -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