radeonsi/compute: Default to the same PIPE_SHADER_CAP values as other shader types v2
v2: - Fix typo Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
@@ -398,8 +398,12 @@ static int si_get_shader_param(struct pipe_screen* pscreen, unsigned shader, enu
|
||||
return max_const_buffer_size;
|
||||
}
|
||||
default:
|
||||
return 0;
|
||||
/* If compute shaders don't require a special value
|
||||
* for this cap, we can return the same value we
|
||||
* do for other shader types. */
|
||||
break;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
/* TODO: support tessellation */
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user