Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/device/metal/globals.h
| Show All 19 Lines | |||||
| #include "kernel/util/profiling.h" | #include "kernel/util/profiling.h" | ||||
| #include "kernel/integrator/state.h" | #include "kernel/integrator/state.h" | ||||
| CCL_NAMESPACE_BEGIN | CCL_NAMESPACE_BEGIN | ||||
| typedef struct KernelParamsMetal { | typedef struct KernelParamsMetal { | ||||
| #define KERNEL_TEX(type, name) ccl_constant type *name; | #define KERNEL_TEX(type, name) ccl_global const type *name; | ||||
| #include "kernel/textures.h" | #include "kernel/textures.h" | ||||
| #undef KERNEL_TEX | #undef KERNEL_TEX | ||||
| const IntegratorStateGPU __integrator_state; | const IntegratorStateGPU __integrator_state; | ||||
| const KernelData data; | const KernelData data; | ||||
| } KernelParamsMetal; | } KernelParamsMetal; | ||||
| Show All 15 Lines | |||||