Blender Git Commit Log

Git Commits -> Revision 9bc47ed

Revision 9bc47ed by Campbell Barton (master)
January 21, 2019, 12:55 (GMT)
Fix clipping shaders with some AMD/Intel drivers

Caused:
error: unsized array index must be constant

Use hard coded number of clipping planes, copying the 4th to 5 & 6
when only 4 are used.

Commit Details:

Full Hash: 9bc47ed0f6d0db9e43af30c741a7e5ac347cbecd
Parent Commit: 0c829e8
Lines Changed: +111, -163

1 Added Path:

/source/blender/draw/modes/shaders/common_world_clip_lib.glsl (+25, -0) (View)

24 Modified Paths:

/source/blender/draw/CMakeLists.txt (+1, -0) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_prepass_vert.glsl (+1, -11) (Diff)
/source/blender/draw/engines/workbench/workbench_data.c (+3, -4) (Diff)
/source/blender/draw/engines/workbench/workbench_deferred.c (+5, -1) (Diff)
/source/blender/draw/engines/workbench/workbench_forward.c (+6, -1) (Diff)
/source/blender/draw/engines/workbench/workbench_materials.c (+4, -5) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+1, -2) (Diff)
/source/blender/draw/intern/draw_common.c (+0, -1) (Diff)
/source/blender/draw/intern/draw_manager_exec.c (+13, -0) (Diff)
/source/blender/draw/intern/DRW_render.h (+1, -0) (Diff)
/source/blender/draw/modes/edit_mesh_mode.c (+26, -7) (Diff)
/source/blender/draw/modes/overlay_mode.c (+11, -5) (Diff)
/source/blender/draw/modes/shaders/edit_mesh_overlay_facedot_vert.glsl (+1, -11) (Diff)
/source/blender/draw/modes/shaders/edit_mesh_overlay_facefill_vert.glsl (+1, -11) (Diff)
/source/blender/draw/modes/shaders/edit_mesh_overlay_geom_edge.glsl (+1, -7) (Diff)
/source/blender/draw/modes/shaders/edit_mesh_overlay_geom_tri.glsl (+2, -10) (Diff)
/source/blender/draw/modes/shaders/edit_mesh_overlay_points_vert.glsl (+1, -11) (Diff)
/source/blender/draw/modes/shaders/edit_mesh_overlay_vert.glsl (+2, -18) (Diff)
/source/blender/draw/modes/shaders/edit_normals_geom.glsl (+1, -7) (Diff)
/source/blender/draw/modes/shaders/edit_normals_vert.glsl (+1, -11) (Diff)
/source/blender/draw/modes/shaders/overlay_face_orientation_vert.glsl (+1, -11) (Diff)
/source/blender/draw/modes/shaders/overlay_face_wireframe_geom.glsl (+1, -7) (Diff)
/source/blender/draw/modes/shaders/overlay_face_wireframe_vert.glsl (+1, -11) (Diff)
/source/blender/draw/modes/shaders/paint_weight_vert.glsl (+1, -11) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021