Fix T70004 EEVEE: Texture Coordinate Node in world shader render artifacts

This commit is contained in:
Clément Foucault 2019-09-24 18:05:14 +02:00
parent dcee994af6
commit c6995b3095
Notes: blender-bot 2023-02-14 10:04:50 +01:00
Referenced by issue #70004, EEVEE: Texture Coordinate Node in world shader render artifacts (AMD)
1 changed files with 1 additions and 0 deletions

View File

@ -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);