intel/brw: Remove Gfx8- code from brw_compile_* functions

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27691>
This commit is contained in:
Caio Oliveira
2024-02-15 02:03:38 -08:00
committed by Marge Bot
parent a4bf016582
commit 6e88fa8a77
6 changed files with 39 additions and 222 deletions
+1 -5
View File
@@ -88,11 +88,7 @@ brw_compile_vs(const struct brw_compiler *compiler,
const unsigned vue_entries =
MAX2(nr_attribute_slots, (unsigned)prog_data->base.vue_map.num_slots);
if (compiler->devinfo->ver == 6) {
prog_data->base.urb_entry_size = DIV_ROUND_UP(vue_entries, 8);
} else {
prog_data->base.urb_entry_size = DIV_ROUND_UP(vue_entries, 4);
}
prog_data->base.urb_entry_size = DIV_ROUND_UP(vue_entries, 4);
if (unlikely(debug_enabled)) {
fprintf(stderr, "VS Output ");