Commit 6747a984 authored by Gert Wollny's avatar Gert Wollny Committed by Marge Bot

r600: Enable tesselation for NIR

Signed-off-by: Gert Wollny's avatarGert Wollny <gert.wollny@collabora.com>
Part-of: <mesa/mesa!4714>
parent b6d44526
Pipeline #138743 passed with stages
in 10 minutes and 39 seconds
......@@ -420,7 +420,7 @@ static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
return 1;
case PIPE_CAP_SHADER_BUFFER_OFFSET_ALIGNMENT:
if (family >= CHIP_CEDAR && !is_nir_enabled(&rscreen->b))
if (family >= CHIP_CEDAR)
return 256;
return 0;
......@@ -559,8 +559,7 @@ static int r600_get_shader_param(struct pipe_screen* pscreen,
/* With NIR we currently disable TES, TCS and COMP shaders */
case PIPE_SHADER_TESS_CTRL:
case PIPE_SHADER_TESS_EVAL:
if (rscreen->b.family >= CHIP_CEDAR &&
!is_nir_enabled(&rscreen->b))
if (rscreen->b.family >= CHIP_CEDAR)
break;
case PIPE_SHADER_COMPUTE:
if (!is_nir_enabled(&rscreen->b))
......
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