summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_compiler.cpp
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-10-02 16:45:48 -0700
committerJason Ekstrand <[email protected]>2015-10-02 16:52:47 -0700
commitef56cf7738ecb25e8c668c509097fc714ca71c96 (patch)
tree94417116a6147dbf1065089d9a45fd76f9642e6c /src/vulkan/anv_compiler.cpp
parent10f97718c353e101c64fa60fcde91e1550e39957 (diff)
parentbf7b6fd3fd6d98305d64ee6224ca9f9e7ba48444 (diff)
Merge remote-tracking branch 'mesa-public/master' into vulkan
Diffstat (limited to 'src/vulkan/anv_compiler.cpp')
-rw-r--r--src/vulkan/anv_compiler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vulkan/anv_compiler.cpp b/src/vulkan/anv_compiler.cpp
index b06775d05ca..4a00863b718 100644
--- a/src/vulkan/anv_compiler.cpp
+++ b/src/vulkan/anv_compiler.cpp
@@ -883,6 +883,9 @@ setup_nir_io(struct gl_shader *mesa_shader,
prog->OutputsWritten |= BITFIELD64_BIT(var->data.location);
}
+ shader->info.inputs_read = prog->InputsRead;
+ shader->info.outputs_written = prog->OutputsWritten;
+
mesa_shader->num_uniform_components = shader->num_uniforms;
}