tornavis/source/blender/gpu
Jeroen Bakker f5dd7d5e6c Vulkan: Fix Workbench Normals
Workbench normals where inverted resulting to drawing artifacts like:
- Black pixels during matcaps (normals contained NAN values)
- Studio light inverted

The root cause for this was that Vulkan default to determine if a
primitive is facing the camera should be switched. The default was still
incorrect.

Although this fixes it, a better solution is to determine the front
facing based on if the viewport should be switched. As all rendering
occurs when the viewport is inverted it doesn't matter at this moment.

Pull Request: https://projects.blender.org/blender/blender/pulls/108797
2023-06-09 11:54:06 +02:00
..
intern Cleanup: renaming of GPU contexts for clarity 2023-06-08 15:46:53 +02:00
metal Metal: Fix operator precedence bug 2023-06-09 10:15:04 +02:00
opengl Cleanup: renaming of GPU contexts for clarity 2023-06-08 15:46:53 +02:00
shaders Metal: EEVEE-Next: Fix light and shadow OOB issues 2023-06-08 16:47:45 +02:00
tests Cleanup: renaming of GPU contexts for clarity 2023-06-08 15:46:53 +02:00
vulkan Vulkan: Fix Workbench Normals 2023-06-09 11:54:06 +02:00
CMakeLists.txt Vulkan: Image Views 2023-06-08 16:07:38 +02:00
GPU_batch.h Cleanup: Add a copyright notice to files and use SPDX format 2023-05-31 16:19:06 +02:00
GPU_batch_presets.h Cleanup: Add a copyright notice to files and use SPDX format 2023-05-31 16:19:06 +02:00
GPU_batch_utils.h Cleanup: Add a copyright notice to files and use SPDX format 2023-05-31 16:19:06 +02:00
GPU_capabilities.h Cleanup: Add a copyright notice to files and use SPDX format 2023-05-31 16:19:06 +02:00
GPU_common.h Cleanup: Add a copyright notice to files and use SPDX format 2023-05-31 16:19:06 +02:00
GPU_common_types.h Cleanup: Add a copyright notice to files and use SPDX format 2023-05-31 16:19:06 +02:00
GPU_compute.h Cleanup: Add a copyright notice to files and use SPDX format 2023-05-31 16:19:06 +02:00
GPU_context.h Cleanup: Add a copyright notice to files and use SPDX format 2023-05-31 16:19:06 +02:00
GPU_debug.h Cleanup: Add a copyright notice to files and use SPDX format 2023-05-31 16:19:06 +02:00
GPU_drawlist.h Cleanup: Add a copyright notice to files and use SPDX format 2023-05-31 16:19:06 +02:00
GPU_framebuffer.h Cleanup: Add a copyright notice to files and use SPDX format 2023-05-31 16:19:06 +02:00
GPU_immediate.h Cleanup: Add a copyright notice to files and use SPDX format 2023-05-31 16:19:06 +02:00
GPU_immediate_util.h Cleanup: Add a copyright notice to files and use SPDX format 2023-05-31 16:19:06 +02:00
GPU_index_buffer.h Cleanup: Add a copyright notice to files and use SPDX format 2023-05-31 16:19:06 +02:00
GPU_init_exit.h Cleanup: Add a copyright notice to files and use SPDX format 2023-05-31 16:19:06 +02:00
GPU_material.h Cleanup: Add a copyright notice to files and use SPDX format 2023-05-31 16:19:06 +02:00
GPU_matrix.h Cleanup: Add a copyright notice to files and use SPDX format 2023-05-31 16:19:06 +02:00
GPU_platform.h Cleanup: Add a copyright notice to files and use SPDX format 2023-05-31 16:19:06 +02:00
GPU_primitive.h Cleanup: Add a copyright notice to files and use SPDX format 2023-05-31 16:19:06 +02:00
GPU_select.h Cleanup: Add a copyright notice to files and use SPDX format 2023-05-31 16:19:06 +02:00
GPU_shader.h Cleanup: Add a copyright notice to files and use SPDX format 2023-05-31 16:19:06 +02:00
GPU_shader_builtin.h Cleanup: Add a copyright notice to files and use SPDX format 2023-05-31 16:19:06 +02:00
GPU_shader_shared.h Cleanup: Add a copyright notice to files and use SPDX format 2023-05-31 16:19:06 +02:00
GPU_shader_shared_utils.h Cleanup: Add a copyright notice to files and use SPDX format 2023-05-31 16:19:06 +02:00
GPU_state.h Cleanup: Add a copyright notice to files and use SPDX format 2023-05-31 16:19:06 +02:00
GPU_storage_buffer.h Cleanup: Add a copyright notice to files and use SPDX format 2023-05-31 16:19:06 +02:00
GPU_texture.h Cleanup: spelling in code 2023-06-08 10:43:55 +10:00
GPU_uniform_buffer.h Cleanup: Add a copyright notice to files and use SPDX format 2023-05-31 16:19:06 +02:00
GPU_vertex_buffer.h Cleanup: Add a copyright notice to files and use SPDX format 2023-05-31 16:19:06 +02:00
GPU_vertex_format.h Cleanup: Add a copyright notice to files and use SPDX format 2023-05-31 16:19:06 +02:00
GPU_viewport.h Cleanup: renaming of GPU contexts for clarity 2023-06-08 15:46:53 +02:00