mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-05 01:40:35 +02:00
radeonsi: fixup the return type of is_format_supported
This commit is contained in:
parent
8e3e4145ce
commit
dd9274df4f
2 changed files with 10 additions and 10 deletions
|
|
@ -1442,11 +1442,11 @@ static bool si_is_zs_format_supported(enum pipe_format format)
|
|||
return si_translate_dbformat(format) != ~0U;
|
||||
}
|
||||
|
||||
bool si_is_format_supported(struct pipe_screen *screen,
|
||||
enum pipe_format format,
|
||||
enum pipe_texture_target target,
|
||||
unsigned sample_count,
|
||||
unsigned usage)
|
||||
boolean si_is_format_supported(struct pipe_screen *screen,
|
||||
enum pipe_format format,
|
||||
enum pipe_texture_target target,
|
||||
unsigned sample_count,
|
||||
unsigned usage)
|
||||
{
|
||||
unsigned retval = 0;
|
||||
|
||||
|
|
|
|||
|
|
@ -131,11 +131,11 @@ union si_state {
|
|||
/* si_state.c */
|
||||
struct si_pipe_shader_selector;
|
||||
|
||||
bool si_is_format_supported(struct pipe_screen *screen,
|
||||
enum pipe_format format,
|
||||
enum pipe_texture_target target,
|
||||
unsigned sample_count,
|
||||
unsigned usage);
|
||||
boolean si_is_format_supported(struct pipe_screen *screen,
|
||||
enum pipe_format format,
|
||||
enum pipe_texture_target target,
|
||||
unsigned sample_count,
|
||||
unsigned usage);
|
||||
int si_shader_select(struct pipe_context *ctx,
|
||||
struct si_pipe_shader_selector *sel,
|
||||
unsigned *dirty);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue