From 0c01ad93004d6d973aae718e21b88595d6301fd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Foucault?= Date: Thu, 20 Feb 2020 00:13:48 +0100 Subject: [PATCH] Fix T74019 Eevee High Quality Normals causing pitch black faces Was due to a mistake when removing previous code... --- source/blender/draw/intern/draw_cache_extract_mesh.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/blender/draw/intern/draw_cache_extract_mesh.c b/source/blender/draw/intern/draw_cache_extract_mesh.c index edd7dee004c..88cb3f95f2e 100644 --- a/source/blender/draw/intern/draw_cache_extract_mesh.c +++ b/source/blender/draw/intern/draw_cache_extract_mesh.c @@ -1839,8 +1839,8 @@ static const MeshExtract extract_uv = { static void extract_tan_ex(const MeshRenderData *mr, GPUVertBuf *vbo, const bool do_hq) { - GPUVertCompType comp_type = do_hq ? GPU_COMP_F32 : GPU_COMP_I10; - GPUVertFetchMode fetch_mode = do_hq ? GPU_FETCH_FLOAT : GPU_FETCH_INT_TO_FLOAT_UNIT; + GPUVertCompType comp_type = do_hq ? GPU_COMP_I16 : GPU_COMP_I10; + GPUVertFetchMode fetch_mode = GPU_FETCH_INT_TO_FLOAT_UNIT; GPUVertFormat format = {0}; GPU_vertformat_deinterleave(&format);