~mmach/netext73/mesa-ryzen

« back to all changes in this revision

Viewing changes to src/microsoft/compiler/dxil_module.h

  • Committer: mmach
  • Date: 2023-11-02 21:31:35 UTC
  • Revision ID: netbit73@gmail.com-20231102213135-18d4tzh7tj0uz752
2023-11-02 22:11:57

Show diffs side-by-side

added added

removed removed

Lines of Context:
225
225
   struct _mesa_string_buffer *sem_string_table;
226
226
   struct dxil_psv_sem_index_table sem_index_table;
227
227
 
 
228
   /* These tables are a bitmask per input, with one bit per output
 
229
    * to indicate whether or not that input contributes to the output.
 
230
    * Each input's bitmask size is rounded up to a uint32 (DWORD),
 
231
    * so a bitbask for one output component is the same as for 8 output vec4s.
 
232
    * Sizes are in number of uint32s.
 
233
    * Meaning of each array entry depends on shader stage.
 
234
    * GS: [i] = output stream index
 
235
    * HS: [0] = control point outputs, [1] = patch constant outputs
 
236
    * DS: [0] = control point inputs, [1] = patch constant inputs (only for io table)
 
237
    * PS/VS: only 0 is used. */
 
238
   uint32_t *serialized_dependency_table;
 
239
   uint32_t *viewid_dependency_table[4];
 
240
   uint32_t *io_dependency_table[4];
 
241
   uint32_t dependency_table_dwords_per_input[4];
 
242
   uint32_t io_dependency_table_size[4];
 
243
   uint32_t serialized_dependency_table_size;
 
244
 
228
245
   struct {
229
246
      unsigned abbrev_width;
230
247
      intptr_t offset;
307
324
 
308
325
const struct dxil_type *
309
326
dxil_module_get_res_type(struct dxil_module *m, enum dxil_resource_kind kind,
310
 
                         enum dxil_component_type comp_type, bool readwrite);
 
327
                         enum dxil_component_type comp_type, unsigned num_comps,
 
328
                         bool readwrite);
311
329
 
312
330
const struct dxil_type *
313
331
dxil_module_get_resret_type(struct dxil_module *m, enum overload_type overload);
395
413
                            const struct dxil_value **values);
396
414
 
397
415
const struct dxil_value *
 
416
dxil_module_get_vector_const(struct dxil_module *m, const struct dxil_type *type,
 
417
                             const struct dxil_value **values);
 
418
 
 
419
const struct dxil_value *
 
420
dxil_module_get_struct_const(struct dxil_module *m, const struct dxil_type *type,
 
421
                             const struct dxil_value **values);
 
422
 
 
423
const struct dxil_value *
398
424
dxil_module_get_undef(struct dxil_module *m, const struct dxil_type *type);
399
425
 
400
426
const struct dxil_value *
516
542
 
517
543
const struct dxil_value *
518
544
dxil_emit_alloca(struct dxil_module *m, const struct dxil_type *alloc_type,
519
 
                 const struct dxil_type *size_type,
520
545
                 const struct dxil_value *size,
521
546
                 unsigned int align);
522
547