Revert "intel/compiler: fine-grained control of dispatch widths"
This reverts commit bed18ab3e2
.
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8063
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20654>
This commit is contained in:
@@ -225,29 +225,14 @@ uint64_t
|
||||
brw_get_compiler_config_value(const struct brw_compiler *compiler)
|
||||
{
|
||||
uint64_t config = 0;
|
||||
unsigned bits = 0;
|
||||
|
||||
insert_u64_bit(&config, compiler->precise_trig);
|
||||
bits++;
|
||||
|
||||
uint64_t mask = DEBUG_DISK_CACHE_MASK;
|
||||
bits += util_bitcount64(mask);
|
||||
while (mask != 0) {
|
||||
const uint64_t bit = 1ULL << (ffsll(mask) - 1);
|
||||
insert_u64_bit(&config, INTEL_DEBUG(bit));
|
||||
mask &= ~bit;
|
||||
}
|
||||
|
||||
mask = SIMD_DISK_CACHE_MASK;
|
||||
bits += util_bitcount64(mask);
|
||||
while (mask != 0) {
|
||||
const uint64_t bit = 1ULL << (ffsll(mask) - 1);
|
||||
insert_u64_bit(&config, (intel_simd & bit) != 0);
|
||||
mask &= ~bit;
|
||||
}
|
||||
|
||||
assert(bits <= util_bitcount64(UINT64_MAX));
|
||||
|
||||
return config;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user