Changeset View
Changeset View
Standalone View
Standalone View
source/blender/gpu/intern/gpu_shader_interface.c
| Show First 20 Lines • Show All 61 Lines • ▼ Show 20 Lines | static const char *names[] = { | ||||
| [GPU_UNIFORM_NORMAL] = "NormalMatrix", | [GPU_UNIFORM_NORMAL] = "NormalMatrix", | ||||
| [GPU_UNIFORM_ORCO] = "OrcoTexCoFactors", | [GPU_UNIFORM_ORCO] = "OrcoTexCoFactors", | ||||
| [GPU_UNIFORM_CLIPPLANES] = "WorldClipPlanes", | [GPU_UNIFORM_CLIPPLANES] = "WorldClipPlanes", | ||||
| [GPU_UNIFORM_COLOR] = "color", | [GPU_UNIFORM_COLOR] = "color", | ||||
| [GPU_UNIFORM_BASE_INSTANCE] = "baseInstance", | [GPU_UNIFORM_BASE_INSTANCE] = "baseInstance", | ||||
| [GPU_UNIFORM_RESOURCE_CHUNK] = "resourceChunk", | [GPU_UNIFORM_RESOURCE_CHUNK] = "resourceChunk", | ||||
| [GPU_UNIFORM_RESOURCE_ID] = "resourceId", | |||||
| [GPU_UNIFORM_CUSTOM] = NULL, | [GPU_UNIFORM_CUSTOM] = NULL, | ||||
| [GPU_NUM_UNIFORMS] = NULL, | [GPU_NUM_UNIFORMS] = NULL, | ||||
| }; | }; | ||||
| return names[u]; | return names[u]; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 322 Lines • Show Last 20 Lines | |||||