ReactOS 0.4.17-dev-934-g091855f
vkd3d_shader_scan_descriptor_info Struct Reference

#include <vkd3d_shader.h>

Collaboration diagram for vkd3d_shader_scan_descriptor_info:

Public Attributes

enum vkd3d_shader_structure_type type
 
const void * next
 
struct vkd3d_shader_descriptor_info * descriptors
 
unsigned int descriptor_count
 

Detailed Description

A chained structure enumerating the descriptors declared by a shader.

This structure extends vkd3d_shader_compile_info.

When scanning a legacy Direct3D shader, vkd3d-shader enumerates descriptors as follows:

Definition at line 1981 of file vkd3d_shader.h.

Member Data Documentation

◆ descriptor_count

unsigned int vkd3d_shader_scan_descriptor_info::descriptor_count

Output; size, in elements, of descriptors.

Definition at line 1993 of file vkd3d_shader.h.

Referenced by d3d12_pipeline_state_init_uav_counters().

◆ descriptors

struct vkd3d_shader_descriptor_info* vkd3d_shader_scan_descriptor_info::descriptors

Output; returns a pointer to an array of descriptors.

Definition at line 1991 of file vkd3d_shader.h.

Referenced by d3d12_pipeline_state_init_uav_counters(), shader_spirv_resource_bindings_init(), and vkd3d_shader_free_scan_descriptor_info().

◆ next

const void* vkd3d_shader_scan_descriptor_info::next

Input; optional pointer to a structure containing further parameters.

Definition at line 1988 of file vkd3d_shader.h.

Referenced by d3d12_pipeline_state_find_and_init_uav_counters(), and shader_spirv_scan_shader().

◆ type

enum vkd3d_shader_structure_type vkd3d_shader_scan_descriptor_info::type

Input; must be set to VKD3D_SHADER_STRUCTURE_TYPE_SCAN_DESCRIPTOR_INFO.

Definition at line 1986 of file vkd3d_shader.h.

Referenced by d3d12_pipeline_state_find_and_init_uav_counters(), and shader_spirv_scan_shader().


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