mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
include: Move vkd3d_result to common header.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
committed by
Alexandre Julliard
parent
4d149b6f89
commit
f732501a14
@@ -19,12 +19,12 @@
|
||||
#ifndef __VKD3D_SHADER_H
|
||||
#define __VKD3D_SHADER_H
|
||||
|
||||
#include <vkd3d_types.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#define VKD3D_FORCE_32_BIT_ENUM(name) name##_FORCE_32BIT = 0x7fffffff
|
||||
|
||||
enum vkd3d_shader_structure_type
|
||||
{
|
||||
VKD3D_SHADER_STRUCTURE_TYPE_SHADER_INTERFACE,
|
||||
@@ -34,18 +34,6 @@ enum vkd3d_shader_structure_type
|
||||
VKD3D_FORCE_32_BIT_ENUM(VKD3D_SHADER_STRUCTURE_TYPE),
|
||||
};
|
||||
|
||||
enum vkd3d_result
|
||||
{
|
||||
VKD3D_OK = 0,
|
||||
VKD3D_ERROR = -1, /* unspecified failure */
|
||||
VKD3D_ERROR_OUT_OF_MEMORY = -2,
|
||||
VKD3D_ERROR_INVALID_ARGUMENT = -3,
|
||||
VKD3D_ERROR_INVALID_SHADER = -4,
|
||||
VKD3D_ERROR_NOT_IMPLEMENTED = -5,
|
||||
|
||||
VKD3D_FORCE_32_BIT_ENUM(VKD3D_RESULT),
|
||||
};
|
||||
|
||||
enum vkd3d_shader_compiler_option
|
||||
{
|
||||
VKD3D_SHADER_STRIP_DEBUG = 0x00000001,
|
||||
|
Reference in New Issue
Block a user