bdk-blender/source/blender/gpu
Alaska ee2e231adc Fix #111277: NaN in Vector Displacement leading to render errors
Fixes NaN in Vector Displacement node caused by the normalization of
0, 0, 0 vectors.

This fixes both visual rendering issues and an "illegal address" error
on the GPU. The "illegal address" error came from the Light Tree
Sampling code not handling the NaN normals well, leading to weird code
paths being taken, eventually leading to a kernel_assert and a
user facing illegal address error.

In Blender 3.5+, this fixes two errors (visual artifacts and errors on
the GPU when using the light tree). In Blender 3.3 it only fixes one
(visual artifacts) because 3.3 doesn't have the light tree. The commit
message should be adjusted to represent that

Pull Request: blender/blender#111294
2023-09-13 13:41:02 +02:00
..
intern Fix #104637: EEVEE Displacement regression after #104595 2023-02-15 13:46:54 +01:00
metal Cleanup: format 2022-07-21 17:45:36 +10:00
opengl Fix #104347: Loop Cut Tool becomes impressive with GPU Subdivision 2023-03-16 14:19:10 +01:00
shaders Fix #111277: NaN in Vector Displacement leading to render errors 2023-09-13 13:41:02 +02:00
tests GPU: Fix failing compute tests. 2022-08-01 15:23:53 +02:00
CMakeLists.txt Metal: MTLUniformBuffer module implementation 2022-07-19 17:12:39 +02:00
GPU_batch_presets.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GPU_batch_utils.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GPU_batch.h Merge branch 'blender-v3.1-release' 2022-02-22 13:57:05 +01:00
GPU_buffers.h Fix T98886: PBVH_GRIDS ignores face smooth flag on first gpu build 2022-06-29 21:05:21 -07:00
GPU_capabilities.h GPU: Remove cached full/scaled image texture. 2022-05-27 10:52:49 +02:00
GPU_common_types.h GPU: add missing license header 2022-07-05 13:58:52 +10:00
GPU_common.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GPU_compute.h GPU: Add indirect dispatch support. 2022-03-18 20:59:27 +01:00
GPU_context.h Cleanup: spelling in comments, typos in tool-tips 2022-07-21 13:21:53 +10:00
GPU_debug.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GPU_drawlist.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GPU_framebuffer.h Cleanup: spelling in comments 2022-06-29 09:40:16 +10:00
GPU_glew.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GPU_immediate_util.h Metal: GPU_PRIM_LINE_LOOP alternative implementations. 2022-04-14 12:01:31 +02:00
GPU_immediate.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GPU_index_buffer.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GPU_init_exit.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GPU_legacy_stubs.h Cleanup: spelling in comments 2022-05-17 15:34:02 +10:00
GPU_material.h Fix T98190: EEVEE: Very slow rendering on Intel HD Graphics 4400 2022-09-02 13:51:43 +02:00
GPU_matrix.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GPU_platform.h Fix overlapping GPU device bitmasks 2022-04-04 16:38:30 +02:00
GPU_primitive.h Metal: Adding alternative support for GPU_PRIM_TRI_FAN/LINE_LOOP For Metal backend. 2022-03-30 20:31:12 +02:00
GPU_select.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GPU_shader_shared_utils.h EEVEE-Next: Add Film and RenderBuffers module 2022-06-30 22:45:42 +02:00
GPU_shader_shared.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GPU_shader.h Cleanup: spelling in comments 2022-05-11 11:02:01 +10:00
GPU_state.h Cleanup: spelling in comments, capitalize tags 2022-05-13 09:29:25 +10:00
GPU_storage_buffer.h Cleanup: spelling in comments & move doc-strings to headers 2022-05-19 11:17:01 +10:00
GPU_texture.h Fix build error on mips64el architecture 2022-08-19 17:28:51 +02:00
GPU_uniform_buffer.h GPU: Make nodetree GLSL Codegen render engine agnostic 2022-04-14 18:47:58 +02:00
GPU_vertex_buffer.h GPUVertBuf: Add support for binding as buffer texture 2022-05-15 15:22:47 +02:00
GPU_vertex_format.h Cleanup: use 'num' / 'size' suffix instead of 'sz' 2022-05-11 13:40:09 +10:00
GPU_viewport.h Merge branch 'blender-v3.1-release' 2022-02-11 20:51:27 +09:00