mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 05:28:05 +02:00
r600: Fix reporting TGSI IR support
When NIR is not explicitely enabled we still support TGSI. Fixes:33765aa92ar600/sfn: Enable NIR for pre RG hardware Signed-off-by: Gert Wollny <gert.wollny@collabora.com> Reviewed-by: Filip Gawin <filip@gawin.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18212> (cherry picked from commit90f99369ae)
This commit is contained in:
parent
29415adbaa
commit
ad7ec70ca6
2 changed files with 2 additions and 2 deletions
|
|
@ -10282,7 +10282,7 @@
|
|||
"description": "r600: Fix reporting TGSI IR support",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "33765aa92aa5c150873fc210e9d6c1fe22cf8646"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -629,8 +629,8 @@ static int r600_get_shader_param(struct pipe_screen* pscreen,
|
|||
int ir = 0;
|
||||
if (shader == PIPE_SHADER_COMPUTE)
|
||||
ir = 1 << PIPE_SHADER_IR_NATIVE;
|
||||
ir |= 1 << PIPE_SHADER_IR_TGSI;
|
||||
if (is_nir_enabled(&rscreen->b)) {
|
||||
ir |= 1 << PIPE_SHADER_IR_TGSI;
|
||||
ir |= 1 << PIPE_SHADER_IR_NIR;
|
||||
}
|
||||
return ir;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue