ReactOS 0.4.17-dev-934-g091855f
vkd3d_shader_push_constant_buffer Struct Reference

#include <vkd3d_shader.h>

Collaboration diagram for vkd3d_shader_push_constant_buffer:

Public Attributes

unsigned int register_space
 
unsigned int register_index
 
enum vkd3d_shader_visibility shader_visibility
 
unsigned int offset
 
unsigned int size
 

Detailed Description

Describes the mapping of a Direct3D constant buffer to a range of push constants in the target environment.

This structure is used in struct vkd3d_shader_interface_info.

Definition at line 1025 of file vkd3d_shader.h.

Member Data Documentation

◆ offset

unsigned int vkd3d_shader_push_constant_buffer::offset

Offset, in bytes, of the target push constants.

Definition at line 1038 of file vkd3d_shader.h.

Referenced by vkd3d_uav_clear_state_init().

◆ register_index

unsigned int vkd3d_shader_push_constant_buffer::register_index

Register index of the Direct3D resource.

Definition at line 1033 of file vkd3d_shader.h.

Referenced by vkd3d_uav_clear_state_init().

◆ register_space

unsigned int vkd3d_shader_push_constant_buffer::register_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 1031 of file vkd3d_shader.h.

Referenced by vkd3d_uav_clear_state_init().

◆ shader_visibility

enum vkd3d_shader_visibility vkd3d_shader_push_constant_buffer::shader_visibility

Shader stage(s) to which the resource is visible.

Definition at line 1035 of file vkd3d_shader.h.

Referenced by vkd3d_uav_clear_state_init().

◆ size

unsigned int vkd3d_shader_push_constant_buffer::size

Size, in bytes, of the target push constants.

Definition at line 1040 of file vkd3d_shader.h.

Referenced by vkd3d_uav_clear_state_init().


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