Skip to content

Commit

Permalink
still doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
SolDev69 committed Nov 27, 2023
1 parent 2419809 commit 52b7d04
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gallium/drivers/freedreno/a6xx/fd6_screen.cc
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ fd6_screen_init(struct pipe_screen *pscreen)

screen->max_rts = A6XX_MAX_RENDER_TARGETS;

printf("FD6: ccu\n");
screen->ccu_offset_bypass = screen->info->num_ccu * A6XX_CCU_DEPTH_SIZE;
screen->ccu_offset_gmem = (screen->gmemsize_bytes -
screen->info->num_ccu * A6XX_CCU_GMEM_COLOR_SIZE);
Expand All @@ -168,7 +169,7 @@ fd6_screen_init(struct pipe_screen *pscreen)
FD_GMEM_CLEARS_DEPTH_STENCIL |
FD_GMEM_DEPTH_ENABLED | FD_GMEM_STENCIL_ENABLED |
FD_GMEM_BLEND_ENABLED | FD_GMEM_LOGICOP_ENABLED);

printf("FD6: create context\n");
pscreen->context_create = fd6_context_create;
pscreen->is_format_supported = fd6_screen_is_format_supported;

Expand Down
1 change: 1 addition & 0 deletions src/gallium/drivers/freedreno/freedreno_screen.c
Original file line number Diff line number Diff line change
Expand Up @@ -1418,6 +1418,7 @@ fd_screen_create(int fd,
fd5_screen_init(pscreen);
break;
case 6:
printf("p6\n");
fd6_screen_init(pscreen);
break;
default:
Expand Down

0 comments on commit 52b7d04

Please sign in to comment.