From 073139e32943b863828474ca70bbdfc258520769 Mon Sep 17 00:00:00 2001 From: Jason Fielder Date: Thu, 12 May 2022 20:49:09 +0200 Subject: Metal: MTLState module implementation. MTLState module implementation and supporting functionality in MTLContext for state tracking, texture binding and sampler state caching. Ref T96261 Reviewed By: fclem Maniphest Tasks: T96261 Differential Revision: https://developer.blender.org/D14827 --- source/blender/gpu/GPU_common_types.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 source/blender/gpu/GPU_common_types.h (limited to 'source/blender/gpu/GPU_common_types.h') diff --git a/source/blender/gpu/GPU_common_types.h b/source/blender/gpu/GPU_common_types.h new file mode 100644 index 00000000000..e08143c2449 --- /dev/null +++ b/source/blender/gpu/GPU_common_types.h @@ -0,0 +1,18 @@ +/** \file + * \ingroup gpu + */ + +#pragma once + +#ifdef __cplusplus +extern "C" { +#endif + +typedef enum eGPUFrontFace { + GPU_CLOCKWISE, + GPU_COUNTERCLOCKWISE, +} eGPUFrontFace; + +#ifdef __cplusplus +} +#endif \ No newline at end of file -- cgit v1.2.3