]> git.nega.tv - josh/narcissus/commitdiff
shark: Switch from fp16 to 8-bit ui buffer
authorJoshua Simmons <josh@nega.tv>
Sat, 18 Oct 2025 21:38:48 +0000 (23:38 +0200)
committerJoshua Simmons <josh@nega.tv>
Sat, 18 Oct 2025 21:38:56 +0000 (23:38 +0200)
title/shark/src/draw.rs

index c10c67d7aded77237bbee1d35742bd70c5a96bb7..37dac905d9377796b75cf80a5443912ac2aeb67f 100644 (file)
@@ -510,7 +510,7 @@ impl<'gpu> DrawState<'gpu> {
                     host_mapped: false,
                     usage: ImageUsageFlags::STORAGE,
                     dimension: ImageDimension::Type2d,
-                    format: ImageFormat::RGBA16_FLOAT,
+                    format: ImageFormat::RGBA8_UNORM,
                     tiling: ImageTiling::Optimal,
                     width,
                     height,