vkd3d
1.14
The vkd3d 3D Graphics Library
|
A chained structure containing compilation parameters. More...
#include <vkd3d_shader.h>
Data Fields | |
enum vkd3d_shader_structure_type | type |
Must be set to VKD3D_SHADER_STRUCTURE_TYPE_COMPILE_INFO. More... | |
const void * | next |
Optional pointer to a structure containing further parameters. More... | |
struct vkd3d_shader_code | source |
Input source code or byte code. More... | |
enum vkd3d_shader_source_type | source_type |
Format of the input code passed in source. More... | |
enum vkd3d_shader_target_type | target_type |
Desired output format. More... | |
const struct vkd3d_shader_compile_option * | options |
Pointer to an array of compilation options. More... | |
unsigned int | option_count |
Size, in elements, of options. More... | |
enum vkd3d_shader_log_level | log_level |
Minimum severity of messages returned from the shader function. More... | |
const char * | source_name |
Name of the initial source file, which may be used in error messages or debug information. More... | |
A chained structure containing compilation parameters.
enum vkd3d_shader_log_level vkd3d_shader_compile_info::log_level |
Minimum severity of messages returned from the shader function.
const void* vkd3d_shader_compile_info::next |
Optional pointer to a structure containing further parameters.
For a list of valid structures, refer to the respective function documentation. If no further parameters are needed, this field should be set to NULL.
unsigned int vkd3d_shader_compile_info::option_count |
Size, in elements, of options.
const struct vkd3d_shader_compile_option* vkd3d_shader_compile_info::options |
Pointer to an array of compilation options.
This field is ignored if option_count is zero, but must be valid otherwise.
If the same option is specified multiple times, only the last value is used.
Options not relevant to or not supported by a particular shader compiler or scanner will be ignored.
struct vkd3d_shader_code vkd3d_shader_compile_info::source |
Input source code or byte code.
const char* vkd3d_shader_compile_info::source_name |
Name of the initial source file, which may be used in error messages or debug information.
This parameter is optional and may be NULL.
enum vkd3d_shader_source_type vkd3d_shader_compile_info::source_type |
Format of the input code passed in source.
enum vkd3d_shader_target_type vkd3d_shader_compile_info::target_type |
Desired output format.
enum vkd3d_shader_structure_type vkd3d_shader_compile_info::type |
Must be set to VKD3D_SHADER_STRUCTURE_TYPE_COMPILE_INFO.