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

Describes the mapping of a single resource or resource array to its binding point in the target environment.
For example, to map a Direct3D SRV with register space 2, register "t3" to a Vulkan descriptor in set 4 and with binding 5, set the following members:
This structure is used in struct vkd3d_shader_interface_info.
Definition at line 937 of file vkd3d_shader.h.
| struct vkd3d_shader_descriptor_binding vkd3d_shader_resource_binding::binding |
The binding in the target environment.
Definition at line 961 of file vkd3d_shader.h.
Referenced by create_resource_bindings().
A combination of zero or more elements of vkd3d_shader_binding_flag.
Definition at line 958 of file vkd3d_shader.h.
Referenced by create_resource_bindings().
Register index of the Direct3D resource.
For legacy Direct3D shaders, vkd3d-shader maps each constant register set to a single constant buffer view. This parameter names the register set to map, and must be a member of enum vkd3d_shader_d3dbc_constant_register.
Definition at line 954 of file vkd3d_shader.h.
Referenced by create_resource_bindings().
Register space of the Direct3D resource. If the source format does not support multiple register spaces, this parameter must be set to 0.
Definition at line 945 of file vkd3d_shader.h.
Referenced by create_resource_bindings(), msl_get_cbv_binding(), shader_glsl_get_cbv_binding(), and shader_glsl_get_uav_binding().
| enum vkd3d_shader_visibility vkd3d_shader_resource_binding::shader_visibility |
Shader stage(s) to which the resource is visible.
Definition at line 956 of file vkd3d_shader.h.
Referenced by create_resource_bindings().
| enum vkd3d_shader_descriptor_type vkd3d_shader_resource_binding::type |
The type of this descriptor.
Definition at line 940 of file vkd3d_shader.h.
Referenced by create_resource_bindings().