radv: remove the secure compile support feature

Steam was the only client of this feature and it seems no longer used.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5869>
This commit is contained in:
Samuel Pitoiset
2020-07-12 13:59:14 +02:00
parent 59b4c623c9
commit 7324977e42
6 changed files with 16 additions and 920 deletions

View File

@@ -1036,13 +1036,6 @@ radv_shader_variant_create(struct radv_device *device,
radv_postprocess_config(device->physical_device, &config, &binary->info,
binary->stage, &variant->config);
if (radv_device_use_secure_compile(device->instance)) {
if (binary->type == RADV_BINARY_TYPE_RTLD)
ac_rtld_close(&rtld_binary);
return variant;
}
void *dest_ptr = radv_alloc_shader_memory(device, variant);
if (!dest_ptr) {
if (binary->type == RADV_BINARY_TYPE_RTLD)