dawn-cmake/test/bug/tint/294.wgsl.expected.msl
Ben Clayton 7e00263c01 wgsl: Remove [[access]] and [[offset]] decorations
These have been deprecated, and their usages in Dawn, CTS and samples have been updated.

Fixed: tint:846
Change-Id: I74b831fd5be2e7ca02e8208835eac8beddcef9af
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/54325
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: David Neto <dneto@google.com>
Reviewed-by: James Price <jrprice@google.com>
2021-06-16 09:19:36 +00:00

14 lines
267 B
Plaintext

#include <metal_stdlib>
using namespace metal;
struct Light {
/* 0x0000 */ packed_float3 position;
/* 0x000c */ int8_t tint_pad_0[4];
/* 0x0010 */ packed_float3 colour;
/* 0x001c */ int8_t tint_pad_1[4];
};
struct Lights {
/* 0x0000 */ Light light[1];
};