Realtime Compositor: Implement Inpaint node #111792

Merged
Omar Emara merged 6 commits from OmarEmaraDev/blender:gpu-inpaint into main 2023-09-25 08:45:54 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit d0f0263e26 - Show all commits

View File

@ -48,7 +48,7 @@ void main()
if (squared_distance < minimum_squared_distance) {
minimum_squared_distance = squared_distance;
closest_seed_position = position;
closest_seed_position = vec2(position);

Fails on OSX

ERROR (gpu.shader): compositor_jump_flooding Compute Shader: 
      | 
      | Error: assigning to 'vec2' (aka 'float2') from incompatible type 'ivec2' (aka 'int2')
      | 
      | closest_seed_position = position;
      | ^~~~~~~~
Fails on OSX ``` ERROR (gpu.shader): compositor_jump_flooding Compute Shader: | | Error: assigning to 'vec2' (aka 'float2') from incompatible type 'ivec2' (aka 'int2') | | closest_seed_position = position; | ^~~~~~~~ ```
}
}
}