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>2021-10-21 18:00:37 +0300
committerBrecht Van Lommel <brecht@blender.org>2021-10-21 22:25:34 +0300
commitbe558d2d9775b3d9d1f84d316d2675a205932d92 (patch)
tree0e3430fea912756561ed6a9fed32515c5dc75219 /intern/cycles/device/optix/device_impl.h
parentaea2287af33c17c5f310ddb20f57d23d2cbe09ac (diff)
Fix T92363: OptiX fails with ambient occlusion node, after recent changes
This triggered a compiler bug where it does not handle the sub.s16 PTX instruction. Instead refactor the code so we don't need to do uint16_t subtraction at all. Also update OptiX device to remove the AO pass direct callable. Thanks Patrick Mours for figuring this out.
Diffstat (limited to 'intern/cycles/device/optix/device_impl.h')
-rw-r--r--intern/cycles/device/optix/device_impl.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/intern/cycles/device/optix/device_impl.h b/intern/cycles/device/optix/device_impl.h
index 3695ac6afc2..b20d42f8c61 100644
--- a/intern/cycles/device/optix/device_impl.h
+++ b/intern/cycles/device/optix/device_impl.h
@@ -45,7 +45,6 @@ enum {
PG_HITS_MOTION,
PG_CALL_SVM_AO,
PG_CALL_SVM_BEVEL,
- PG_CALL_AO_PASS,
NUM_PROGRAM_GROUPS
};