Skip to content

Commit

Permalink
fix virgl_screen.c
Browse files Browse the repository at this point in the history
  • Loading branch information
SolDev69 committed Jan 20, 2024
1 parent cf47232 commit 8977814
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/gallium/drivers/virgl/virgl_screen.c
Original file line number Diff line number Diff line change
Expand Up @@ -966,8 +966,10 @@ virgl_is_dmabuf_modifier_supported(UNUSED struct pipe_screen *pscreen,

static unsigned int
virgl_get_dmabuf_modifier_planes(UNUSED struct pipe_screen *pscreen,
UNUSED uint64_t modifier, + enum pipe_format format)
{ + /* Return the format plane count queried from pipe_format. For virgl,
UNUSED uint64_t modifier,
enum pipe_format format)
{
/* Return the format plane count queried from pipe_format. For virgl,
* additional aux planes are entirely resolved on the host side.
*/
return util_format_get_num_planes(format);
Expand Down

0 comments on commit 8977814

Please sign in to comment.