mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-08-05 03:35:56 +00:00
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>
14 lines
267 B
Plaintext
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];
|
|
};
|
|
|