diff options
author | Juan A. Suarez Romero <[email protected]> | 2016-04-15 12:30:54 +0200 |
---|---|---|
committer | Alejandro PiƱeiro <[email protected]> | 2016-05-17 09:05:54 +0200 |
commit | 80535873bbed9d6fda7bb0d2cca3d0950afb8431 (patch) | |
tree | c040d0d474cf331b32a992f00f29cd8fcd6fa416 /src/compiler/nir/glsl_to_nir.cpp | |
parent | ccfe25f7583dd8d0ff0609de3728c8b15fb0f8fb (diff) |
nir: add double input bitmap
This bitmap tracks which input attributes are double-precision.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/compiler/nir/glsl_to_nir.cpp')
-rw-r--r-- | src/compiler/nir/glsl_to_nir.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/nir/glsl_to_nir.cpp b/src/compiler/nir/glsl_to_nir.cpp index d28fe41ad84..b25f0658898 100644 --- a/src/compiler/nir/glsl_to_nir.cpp +++ b/src/compiler/nir/glsl_to_nir.cpp @@ -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; |