Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
slime73 committed Apr 10, 2024
1 parent 202150d commit 5205af3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/modules/graphics/metal/Graphics.mm
Original file line number Diff line number Diff line change
Expand Up @@ -332,10 +332,13 @@ static inline void setSampler(id<MTLComputeCommandEncoder> encoder, Graphics::Re
::printf("supports family apple %d: %d\n", i + 1, families.apple[i + 1]);

for (int i = 0; i < 2; i++)
::printf("supports family mac %d: %d\n", i + 1, families.apple[i + 1]);
::printf("supports family mac %d: %d\n", i + 1, families.mac[i + 1]);

for (int i = 0; i < 3; i++)
::printf("supports family common %d: %d\n", i + 1, families.apple[i + 1]);
::printf("supports family common %d: %d\n", i + 1, families.common[i + 1]);

for (int i = 0; i < 2; i++)
::printf("supports family mac catalyst %d: %d\n", i + 1, families.macCatalyst[i + 1]);

::printf("supports LA8: %d\n", isPixelFormatSupported(PIXELFORMAT_LA8_UNORM, PIXELFORMATUSAGEFLAGS_SAMPLE));

Expand Down

0 comments on commit 5205af3

Please sign in to comment.