diff options
author | Rhys Perry <[email protected]> | 2019-07-02 15:32:15 +0100 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-08-08 12:10:39 -0500 |
commit | c52c54a746eee5f984a0f72061a588fb0d628afd (patch) | |
tree | 313a0a431c724995c9a9e2079c22cda437969a61 /src/intel/compiler/brw_fs.cpp | |
parent | 024a46a4079f947cd8760577b83af0c861451c42 (diff) |
anv,i965,iris: deduplicate setting of total_shared
v5: add patch
Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_fs.cpp')
-rw-r--r-- | src/intel/compiler/brw_fs.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp index 9bc0cfb27ed..1a45a0f63d8 100644 --- a/src/intel/compiler/brw_fs.cpp +++ b/src/intel/compiler/brw_fs.cpp @@ -8250,6 +8250,7 @@ brw_compile_cs(const struct brw_compiler *compiler, void *log_data, int shader_time_index, char **error_str) { + prog_data->base.total_shared = src_shader->info.cs.shared_size; prog_data->local_size[0] = src_shader->info.cs.local_size[0]; prog_data->local_size[1] = src_shader->info.cs.local_size[1]; prog_data->local_size[2] = src_shader->info.cs.local_size[2]; |