Commit ee61d35f authored by Niklas Haas's avatar Niklas Haas

gpu: fix comments

pl_format -> pl_fmt
parent 2c348dbb
Pipeline #4196 passed with stages
in 2 minutes and 10 seconds
......@@ -73,9 +73,9 @@ static inline bool pl_gpu_supports_interop(const struct pl_gpu *gpu)
// Log some metadata about the created GPU
void pl_gpu_print_info(const struct pl_gpu *gpu, enum pl_log_level lev);
// Sort the pl_format list into an optimal order. This tries to prefer formats
// supporting more capabilities, while also trying to maintain a sane order
// in terms of bit depth / component index.
// Sort the pl_fmt list into an optimal order. This tries to prefer formats
// supporting more capabilities, while also trying to maintain a sane order in
// terms of bit depth / component index.
void pl_gpu_sort_formats(struct pl_gpu *gpu);
// Pretty-print the format list
......
......@@ -206,7 +206,7 @@ static bool pick_surf_format(const struct pl_gpu *gpu, const struct vk_ctx *vk,
default: continue;
}
// Make sure we can wrap this format to a meaningful, valid pl_format
// Make sure we can wrap this format to a meaningful, valid pl_fmt
for (int n = 0; n < gpu->num_formats; n++) {
const struct pl_fmt *rafmt = gpu->formats[n];
const struct vk_format *vkfmt = rafmt->priv;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment