Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/device/cpu/globals.h
| Show All 12 Lines | |||||
| * See the License for the specific language governing permissions and | * See the License for the specific language governing permissions and | ||||
| * limitations under the License. | * limitations under the License. | ||||
| */ | */ | ||||
| /* Constant Globals */ | /* Constant Globals */ | ||||
| #pragma once | #pragma once | ||||
| #include "kernel/tables.h" | |||||
| #include "kernel/types.h" | #include "kernel/types.h" | ||||
| #include "kernel/util/profiling.h" | #include "kernel/util/profiling.h" | ||||
| CCL_NAMESPACE_BEGIN | CCL_NAMESPACE_BEGIN | ||||
| /* On the CPU, we pass along the struct KernelGlobals to nearly everywhere in | /* On the CPU, we pass along the struct KernelGlobals to nearly everywhere in | ||||
| * the kernel, to access constant data. These are all stored as "textures", but | * the kernel, to access constant data. These are all stored as "textures", but | ||||
| * these are really just standard arrays. We can't use actually globals because | * these are really just standard arrays. We can't use actually globals because | ||||
| Show All 35 Lines | |||||