ReactOS 0.4.17-dev-966-gf06eace
hlsl_type Struct Reference

#include <hlsl.h>

Collaboration diagram for hlsl_type:

Public Attributes

struct list entry
 
struct rb_entry scope_entry
 
enum hlsl_type_class class
 
enum hlsl_sampler_dim sampler_dim
 
const char * name
 
uint32_t modifiers
 
unsigned int dimx
 
unsigned int dimy
 
unsigned int sample_count
 
union {
   struct {
      enum hlsl_base_type   type
 
   }   numeric
 
   struct {
      struct hlsl_struct_field *   fields
 
      size_t   field_count
 
   }   record
 
   struct {
      struct hlsl_type *   type
 
      unsigned int   elements_count
 
   }   array
 
   struct {
      struct hlsl_type *   format
 
      bool   rasteriser_ordered
 
   }   resource
 
   unsigned int   version
 
} e
 
unsigned int reg_size [HLSL_REGSET_LAST+1]
 
size_t bytecode_offset
 
uint32_t is_minimum_precision: 1
 

Detailed Description

Definition at line 156 of file hlsl.h.

Member Data Documentation

◆ 

◆ bytecode_offset

size_t hlsl_type::bytecode_offset

Definition at line 232 of file hlsl.h.

◆ class

◆ dimx

◆ dimy

◆ 

◆ elements_count

◆ entry

struct list hlsl_type::entry

Definition at line 159 of file hlsl.h.

◆ field_count

size_t hlsl_type::field_count

Definition at line 203 of file hlsl.h.

Referenced by hlsl_new_struct_type(), hlsl_type_clone(), and write_sm1_type().

◆ fields

struct hlsl_struct_field* hlsl_type::fields

Definition at line 202 of file hlsl.h.

◆ format

struct hlsl_type* hlsl_type::format

Definition at line 217 of file hlsl.h.

Referenced by hlsl_new_cb_type(), hlsl_new_texture_type(), and hlsl_new_uav_type().

◆ is_minimum_precision

uint32_t hlsl_type::is_minimum_precision

Definition at line 234 of file hlsl.h.

Referenced by hlsl_type_clone().

◆ modifiers

uint32_t hlsl_type::modifiers

Definition at line 178 of file hlsl.h.

Referenced by hlsl_new_array_type(), hlsl_type_clone(), hlsl_types_are_equal(), and write_type().

◆ name

const char* hlsl_type::name

◆ 

◆ rasteriser_ordered

bool hlsl_type::rasteriser_ordered

Definition at line 219 of file hlsl.h.

Referenced by hlsl_new_uav_type().

◆ 

◆ reg_size

unsigned int hlsl_type::reg_size[HLSL_REGSET_LAST+1]

Definition at line 230 of file hlsl.h.

Referenced by write_fx_4_type().

◆ 

struct { ... } hlsl_type::resource

◆ sample_count

unsigned int hlsl_type::sample_count

Definition at line 190 of file hlsl.h.

Referenced by hlsl_new_texture_type(), and hlsl_type_clone().

◆ sampler_dim

◆ scope_entry

struct rb_entry hlsl_type::scope_entry

Definition at line 161 of file hlsl.h.

Referenced by compare_hlsl_types_rb(), and hlsl_ctx_cleanup().

◆ type [1/2]

enum hlsl_base_type hlsl_type::type

Definition at line 197 of file hlsl.h.

◆ type [2/2]

struct hlsl_type* hlsl_type::type

Definition at line 208 of file hlsl.h.

◆ version

unsigned int hlsl_type::version

Definition at line 222 of file hlsl.h.

Referenced by hlsl_type_clone(), and hlsl_types_are_equal().


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