#include <stddef.h>
Go to the source code of this file.
|
enum | spirv_cross_builtin {
SPIRV_CROSS_BUILTIN_POSITION = 0,
SPIRV_CROSS_BUILTIN_FRAG_COORD = 1,
SPIRV_CROSS_BUILTIN_WORK_GROUP_ID = 2,
SPIRV_CROSS_BUILTIN_NUM_WORK_GROUPS = 3,
SPIRV_CROSS_NUM_BUILTINS
} |
|
enum | spirv_cross_format {
SPIRV_CROSS_FORMAT_R8_UNORM = 0,
SPIRV_CROSS_FORMAT_R8G8_UNORM = 1,
SPIRV_CROSS_FORMAT_R8G8B8_UNORM = 2,
SPIRV_CROSS_FORMAT_R8G8B8A8_UNORM = 3,
SPIRV_CROSS_NUM_FORMATS
} |
|
enum | spirv_cross_wrap { SPIRV_CROSS_WRAP_CLAMP_TO_EDGE = 0,
SPIRV_CROSS_WRAP_REPEAT = 1,
SPIRV_CROSS_NUM_WRAP
} |
|
enum | spirv_cross_filter { SPIRV_CROSS_FILTER_NEAREST = 0,
SPIRV_CROSS_FILTER_LINEAR = 1,
SPIRV_CROSS_NUM_FILTER
} |
|
enum | spirv_cross_mipfilter { SPIRV_CROSS_MIPFILTER_BASE = 0,
SPIRV_CROSS_MIPFILTER_NEAREST = 1,
SPIRV_CROSS_MIPFILTER_LINEAR = 2,
SPIRV_CROSS_NUM_MIPFILTER
} |
|
|
void | spirv_cross_set_stage_input (spirv_cross_shader_t *thiz, unsigned location, void *data, size_t size) |
|
void | spirv_cross_set_stage_output (spirv_cross_shader_t *thiz, unsigned location, void *data, size_t size) |
|
void | spirv_cross_set_push_constant (spirv_cross_shader_t *thiz, void *data, size_t size) |
|
void | spirv_cross_set_uniform_constant (spirv_cross_shader_t *thiz, unsigned location, void *data, size_t size) |
|
void | spirv_cross_set_resource (spirv_cross_shader_t *thiz, unsigned set, unsigned binding, void **data, size_t size) |
|
const struct spirv_cross_interface * | spirv_cross_get_interface (void) |
|
void | spirv_cross_set_builtin (spirv_cross_shader_t *thiz, spirv_cross_builtin builtin, void *data, size_t size) |
|
spirv_cross_sampler_2d_t * | spirv_cross_create_sampler_2d (const struct spirv_cross_sampler_info *info) |
|
void | spirv_cross_destroy_sampler_2d (spirv_cross_sampler_2d_t *samp) |
|
◆ SPIRV_CROSS_NUM_DESCRIPTOR_BINDINGS
#define SPIRV_CROSS_NUM_DESCRIPTOR_BINDINGS 16 |
◆ SPIRV_CROSS_NUM_DESCRIPTOR_SETS
#define SPIRV_CROSS_NUM_DESCRIPTOR_SETS 4 |
◆ SPIRV_CROSS_NUM_STAGE_INPUTS
#define SPIRV_CROSS_NUM_STAGE_INPUTS 16 |
◆ SPIRV_CROSS_NUM_STAGE_OUTPUTS
#define SPIRV_CROSS_NUM_STAGE_OUTPUTS 16 |
◆ SPIRV_CROSS_NUM_UNIFORM_CONSTANTS
#define SPIRV_CROSS_NUM_UNIFORM_CONSTANTS 32 |
◆ spirv_cross_builtin
◆ spirv_cross_sampler_2d_t
◆ spirv_cross_shader_t
◆ spirv_cross_builtin
Enumerator |
---|
SPIRV_CROSS_BUILTIN_POSITION | |
SPIRV_CROSS_BUILTIN_FRAG_COORD | |
SPIRV_CROSS_BUILTIN_WORK_GROUP_ID | |
SPIRV_CROSS_BUILTIN_NUM_WORK_GROUPS | |
SPIRV_CROSS_NUM_BUILTINS | |
◆ spirv_cross_filter
Enumerator |
---|
SPIRV_CROSS_FILTER_NEAREST | |
SPIRV_CROSS_FILTER_LINEAR | |
SPIRV_CROSS_NUM_FILTER | |
◆ spirv_cross_format
Enumerator |
---|
SPIRV_CROSS_FORMAT_R8_UNORM | |
SPIRV_CROSS_FORMAT_R8G8_UNORM | |
SPIRV_CROSS_FORMAT_R8G8B8_UNORM | |
SPIRV_CROSS_FORMAT_R8G8B8A8_UNORM | |
SPIRV_CROSS_NUM_FORMATS | |
◆ spirv_cross_mipfilter
Enumerator |
---|
SPIRV_CROSS_MIPFILTER_BASE | |
SPIRV_CROSS_MIPFILTER_NEAREST | |
SPIRV_CROSS_MIPFILTER_LINEAR | |
SPIRV_CROSS_NUM_MIPFILTER | |
◆ spirv_cross_wrap
Enumerator |
---|
SPIRV_CROSS_WRAP_CLAMP_TO_EDGE | |
SPIRV_CROSS_WRAP_REPEAT | |
SPIRV_CROSS_NUM_WRAP | |
◆ spirv_cross_create_sampler_2d()
◆ spirv_cross_destroy_sampler_2d()
◆ spirv_cross_get_interface()
◆ spirv_cross_set_builtin()
◆ spirv_cross_set_push_constant()
◆ spirv_cross_set_resource()
◆ spirv_cross_set_stage_input()
◆ spirv_cross_set_stage_output()
◆ spirv_cross_set_uniform_constant()