mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 01:00:10 +01:00
nir: add double input bitmap
This bitmap tracks which input attributes are double-precision. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
ccfe25f758
commit
80535873bb
2 changed files with 3 additions and 0 deletions
|
|
@ -152,6 +152,7 @@ glsl_to_nir(const struct gl_shader_program *shader_prog,
|
|||
shader->info.num_ssbos = sh->NumShaderStorageBlocks;
|
||||
shader->info.num_images = sh->NumImages;
|
||||
shader->info.inputs_read = sh->Program->InputsRead;
|
||||
shader->info.double_inputs_read = sh->Program->DoubleInputsRead;
|
||||
shader->info.outputs_written = sh->Program->OutputsWritten;
|
||||
shader->info.patch_inputs_read = sh->Program->PatchInputsRead;
|
||||
shader->info.patch_outputs_written = sh->Program->PatchOutputsWritten;
|
||||
|
|
|
|||
|
|
@ -1704,6 +1704,8 @@ typedef struct nir_shader_info {
|
|||
|
||||
/* Which inputs are actually read */
|
||||
uint64_t inputs_read;
|
||||
/* Which inputs are actually read and are double */
|
||||
uint64_t double_inputs_read;
|
||||
/* Which outputs are actually written */
|
||||
uint64_t outputs_written;
|
||||
/* Which system values are actually read */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue