diff options
author | Rafael Antognolli <[email protected]> | 2018-01-24 16:33:58 -0800 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2018-01-26 19:53:01 +0000 |
commit | e1ac54507e1b8df8fb214ef63bf39e13475b7927 (patch) | |
tree | 5e607834e566d627fe70eb971284cc0c534359dd /src | |
parent | dcdeb6a33e0047606468d2eeaf2023a6d4420373 (diff) |
i965/gen10: Re-enable push constants.
The GPU hang caused by push constants is apparently fixed, so let's
enable them again.
Signed-off-by: Rafael Antognolli <[email protected]>
Cc: "18.0" <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
(cherry picked from commit bcfd78e4489f538e34138269650fc6cbe8c9d75f)
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/compiler/brw_fs.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp index 09adcbc2df1..6fb46e7374c 100644 --- a/src/intel/compiler/brw_fs.cpp +++ b/src/intel/compiler/brw_fs.cpp @@ -2096,15 +2096,6 @@ fs_visitor::assign_constant_locations() if (subgroup_id_index >= 0) max_push_components--; /* Save a slot for the thread ID */ - /* FIXME: We currently have some GPU hangs that happen apparently when using - * push constants. Since we have no solution for such hangs yet, just - * go ahead and use pull constants for now. - */ - if (devinfo->gen == 10 && compiler->supports_pull_constants) { - compiler->shader_perf_log(log_data, "Disabling push constants."); - max_push_components = 0; - } - /* We push small arrays, but no bigger than 16 floats. This is big enough * for a vec4 but hopefully not large enough to push out other stuff. We * should probably use a better heuristic at some point. |