Fix: shader issue due to varying interpolation modes
The interface `overlay_armature_shape_wire_iface` used both `smooth` and `flat`. This is not supported in Vulkan. Changing both to `flat` should fix it. Pull Request: https://projects.blender.org/blender/blender/pulls/122505
This commit is contained in:
committed by
Clément Foucault
parent
2a287dc23c
commit
037ec5dc2e
@@ -137,7 +137,7 @@ GPU_SHADER_CREATE_INFO(overlay_armature_shape_solid_clipped)
|
||||
.additional_info("overlay_armature_shape_solid", "drw_clipped");
|
||||
|
||||
GPU_SHADER_INTERFACE_INFO(overlay_armature_shape_wire_iface, "geometry_in")
|
||||
.smooth(Type::VEC4, "finalColor")
|
||||
.flat(Type::VEC4, "finalColor")
|
||||
.flat(Type::FLOAT, "wire_width");
|
||||
|
||||
GPU_SHADER_INTERFACE_INFO(overlay_armature_shape_wire_geom_iface, "geometry_out")
|
||||
|
||||
Reference in New Issue
Block a user