Refactor: GPU: Texture: Replace eGPUTextureFormat by TextureFormat

This offers better semantic and safety of the API.

Part of #130632

Pull Request: https://projects.blender.org/blender/blender/pulls/142818
This commit is contained in:
Clément Foucault
2025-07-22 14:58:54 +02:00
committed by Clément Foucault
parent 144696f7ee
commit 32d64d35bb
205 changed files with 2997 additions and 2617 deletions

View File

@@ -37,7 +37,7 @@ namespace blender::compositor {
* definitions. */
static float *parallel_reduction_dispatch(blender::gpu::Texture *texture,
GPUShader *shader,
eGPUTextureFormat format)
blender::gpu::TextureFormat format)
{
GPU_shader_uniform_1b(shader, "is_initial_reduction", true);