[Bf-blender-cvs] [c6995b30952] master: Fix T70004 EEVEE: Texture Coordinate Node in world shader render artifacts
Clément Foucault
noreply at git.blender.org
Tue Sep 24 18:21:41 CEST 2019
Commit: c6995b309527835fac3b720c62b6db21ffd7a047
Author: Clément Foucault
Date: Tue Sep 24 18:05:14 2019 +0200
Branches: master
https://developer.blender.org/rBc6995b309527835fac3b720c62b6db21ffd7a047
Fix T70004 EEVEE: Texture Coordinate Node in world shader render artifacts
===================================================================
M source/blender/draw/intern/draw_cache.c
===================================================================
diff --git a/source/blender/draw/intern/draw_cache.c b/source/blender/draw/intern/draw_cache.c
index 06ed661ad8e..019098e5b90 100644
--- a/source/blender/draw/intern/draw_cache.c
+++ b/source/blender/draw/intern/draw_cache.c
@@ -347,6 +347,7 @@ GPUBatch *DRW_cache_fullscreen_quad_get(void)
attr_id.pos = GPU_vertformat_attr_add(&format, "pos", GPU_COMP_F32, 2, GPU_FETCH_FLOAT);
attr_id.uvs = GPU_vertformat_attr_add(&format, "uvs", GPU_COMP_F32, 2, GPU_FETCH_FLOAT);
GPU_vertformat_alias_add(&format, "texCoord");
+ GPU_vertformat_alias_add(&format, "orco"); /* Fix driver bug (see T70004) */
}
GPUVertBuf *vbo = GPU_vertbuf_create_with_format(&format);
More information about the Bf-blender-cvs
mailing list