Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2020-09-22 17:35:50 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-09-22 17:36:43 +0300
commitdab50ad7183458aa5ad5b982097da844397be3d9 (patch)
tree35721c7eaaf65a05d7c7313e726776a81f993ee7 /intern/cycles/kernel/kernel_types.h
parentb63e6ab8d252a7424272f56d2e5a5b778191f987 (diff)
Cleanup: use float3 instead of float4 for shadow, since w is never used
Contributed by pembem22. Differential Revision: https://developer.blender.org/D8947
Diffstat (limited to 'intern/cycles/kernel/kernel_types.h')
-rw-r--r--intern/cycles/kernel/kernel_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/kernel_types.h b/intern/cycles/kernel/kernel_types.h
index fc9cc73a704..77e134da4b0 100644
--- a/intern/cycles/kernel/kernel_types.h
+++ b/intern/cycles/kernel/kernel_types.h
@@ -522,7 +522,7 @@ typedef ccl_addr_space struct PathRadiance {
float3 indirect_transmission;
float3 indirect_volume;
- float4 shadow;
+ float3 shadow;
float mist;
#endif