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:
committed by
Clément Foucault
parent
144696f7ee
commit
32d64d35bb
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user