|
ReactOS 0.4.17-dev-934-g091855f
|
#include <vkd3d_shader.h>

Public Attributes | |
| enum vkd3d_shader_structure_type | type |
| const void * | next |
| const struct vkd3d_shader_parameter1 * | parameters |
| unsigned int | parameter_count |
Interface information regarding a builtin shader parameter.
Like compile options specified with struct vkd3d_shader_compile_option, parameters are used to specify certain values which are not part of the source shader bytecode but which need to be specified in the shader bytecode in the target format. Unlike struct vkd3d_shader_compile_option, however, this structure allows parameters to be specified in a variety of different ways, as described by enum vkd3d_shader_parameter_type.
This structure is an extended version of struct vkd3d_shader_parameter as used in struct vkd3d_shader_spirv_target_info, which allows more parameter types to be used, and also allows specifying parameters when compiling shaders to target types other than SPIR-V. If this structure is chained along with vkd3d_shader_spirv_target_info, any parameters specified in the latter structure are ignored.
This structure is passed to vkd3d_shader_compile() and extends vkd3d_shader_compile_info.
This structure contains only input parameters.
Definition at line 2429 of file vkd3d_shader.h.
Optional pointer to a structure containing further parameters.
Definition at line 2434 of file vkd3d_shader.h.
Size, in elements, of parameters.
Definition at line 2439 of file vkd3d_shader.h.
Referenced by vsir_program_init().
| const struct vkd3d_shader_parameter1* vkd3d_shader_parameter_info::parameters |
Pointer to an array of dynamic parameters for this shader instance.
Definition at line 2437 of file vkd3d_shader.h.
Referenced by vsir_program_init().
| enum vkd3d_shader_structure_type vkd3d_shader_parameter_info::type |
Must be set to VKD3D_SHADER_STRUCTURE_TYPE_PARAMETER_INFO.
Definition at line 2432 of file vkd3d_shader.h.