vkd3d
1.3
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. | |
const void * | next |
Optional pointer to a structure containing further parameters. More... | |
struct vkd3d_shader_code | source |
Input source code or byte code. | |
enum vkd3d_shader_source_type | source_type |
Format of the input code passed in source. | |
enum vkd3d_shader_target_type | target_type |
Desired output format. | |
const struct vkd3d_shader_compile_option * | options |
Pointer to an array of compilation options. More... | |
unsigned int | option_count |
Size, in elements, of options. | |
enum vkd3d_shader_log_level | log_level |
Minimum severity of messages returned from the shader function. | |
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.
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.
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.
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.