Commit 754c7b89 authored by Marek Olšák's avatar Marek Olšák
Browse files

radeonsi: enable SPIR-V and GL 4.6 for NIR


Reviewed-by: Pierre-Eric Pelloux-Prayer's avatarPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
parent cf240ea6
Pipeline #83501 passed with stages
in 16 minutes and 4 seconds
......@@ -193,9 +193,9 @@ static int si_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_GLSL_FEATURE_LEVEL:
case PIPE_CAP_GLSL_FEATURE_LEVEL_COMPATIBILITY:
if (sscreen->info.has_indirect_compute_dispatch)
return 450;
return 420;
if (!sscreen->info.has_indirect_compute_dispatch)
return 420;
return sscreen->options.enable_nir ? 460 : 450;
case PIPE_CAP_MAX_TEXTURE_UPLOAD_MEMORY_BUDGET:
/* Optimal number for good TexSubImage performance on Polaris10. */
......@@ -216,9 +216,8 @@ static int si_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_PACKED_UNIFORMS:
case PIPE_CAP_SHADER_SAMPLES_IDENTICAL:
if (sscreen->options.enable_nir)
return 1;
return 0;
case PIPE_CAP_GL_SPIRV:
return sscreen->options.enable_nir;
case PIPE_CAP_PREFER_IMM_ARRAYS_AS_CONSTBUF:
if (sscreen->options.enable_nir)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment