ReactOS 0.4.17-dev-934-g091855f
vkd3d_shader_combined_resource_sampler Struct Reference

#include <vkd3d_shader.h>

Collaboration diagram for vkd3d_shader_combined_resource_sampler:

Public Attributes

unsigned int resource_space
 
unsigned int resource_index
 
unsigned int sampler_space
 
unsigned int sampler_index
 
enum vkd3d_shader_visibility shader_visibility
 
unsigned int flags
 
struct vkd3d_shader_descriptor_binding binding
 

Detailed Description

Describes the mapping of a Direct3D resource-sampler pair to a combined sampler (i.e. sampled image).

This structure is used in struct vkd3d_shader_interface_info.

Definition at line 972 of file vkd3d_shader.h.

Member Data Documentation

◆ binding

struct vkd3d_shader_descriptor_binding vkd3d_shader_combined_resource_sampler::binding

The binding in the target environment.

Definition at line 994 of file vkd3d_shader.h.

Referenced by create_combined_resource_sampler_bindings().

◆ flags

unsigned int vkd3d_shader_combined_resource_sampler::flags

A combination of zero or more elements of vkd3d_shader_binding_flag.

Definition at line 991 of file vkd3d_shader.h.

Referenced by create_combined_resource_sampler_bindings().

◆ resource_index

unsigned int vkd3d_shader_combined_resource_sampler::resource_index

Register index of the Direct3D resource.

Definition at line 980 of file vkd3d_shader.h.

Referenced by create_combined_resource_sampler_bindings(), and spirv_compiler_has_combined_sampler_for_resource().

◆ resource_space

unsigned int vkd3d_shader_combined_resource_sampler::resource_space

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 978 of file vkd3d_shader.h.

Referenced by create_combined_resource_sampler_bindings(), and spirv_compiler_has_combined_sampler_for_resource().

◆ sampler_index

unsigned int vkd3d_shader_combined_resource_sampler::sampler_index

Register index of the Direct3D sampler.

Definition at line 987 of file vkd3d_shader.h.

Referenced by create_combined_resource_sampler_bindings(), and spirv_compiler_has_combined_sampler_for_sampler().

◆ sampler_space

unsigned int vkd3d_shader_combined_resource_sampler::sampler_space

Register space of the Direct3D sampler. If the source format does not support multiple register spaces, this parameter must be set to 0.

Definition at line 985 of file vkd3d_shader.h.

Referenced by create_combined_resource_sampler_bindings(), and spirv_compiler_has_combined_sampler_for_sampler().

◆ shader_visibility

enum vkd3d_shader_visibility vkd3d_shader_combined_resource_sampler::shader_visibility

The documentation for this struct was generated from the following file: