mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
brw: Remove HSW specific code from brw_compile_cs.cpp
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34355>
This commit is contained in:
parent
536b2b13c8
commit
f33d93da11
1 changed files with 0 additions and 8 deletions
|
|
@ -62,17 +62,9 @@ static bool
|
|||
run_cs(brw_shader &s, bool allow_spilling)
|
||||
{
|
||||
assert(gl_shader_stage_is_compute(s.stage));
|
||||
const brw_builder bld = brw_builder(&s);
|
||||
|
||||
s.payload_ = new brw_cs_thread_payload(s);
|
||||
|
||||
if (s.devinfo->platform == INTEL_PLATFORM_HSW && s.prog_data->total_shared > 0) {
|
||||
/* Move SLM index from g0.0[27:24] to sr0.1[11:8] */
|
||||
const brw_builder abld = bld.exec_all().group(1, 0);
|
||||
abld.MOV(retype(brw_sr0_reg(1), BRW_TYPE_UW),
|
||||
suboffset(retype(brw_vec1_grf(0, 0), BRW_TYPE_UW), 1));
|
||||
}
|
||||
|
||||
brw_from_nir(&s);
|
||||
|
||||
if (s.failed)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue