Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/device/gpu/kernel.h
| Show First 20 Lines • Show All 619 Lines • ▼ Show 20 Lines | kernel_gpu_shader_eval_displace(KernelShaderEvalInput *input, | ||||
| const int work_size) | const int work_size) | ||||
| { | { | ||||
| int i = ccl_gpu_global_id_x(); | int i = ccl_gpu_global_id_x(); | ||||
| if (i < work_size) { | if (i < work_size) { | ||||
| kernel_displace_evaluate(NULL, input, output, offset + i); | kernel_displace_evaluate(NULL, input, output, offset + i); | ||||
| } | } | ||||
| } | } | ||||
| /* Background Shader Evaluation */ | /* Background */ | ||||
| ccl_gpu_kernel(GPU_KERNEL_BLOCK_NUM_THREADS, GPU_KERNEL_MAX_REGISTERS) | ccl_gpu_kernel(GPU_KERNEL_BLOCK_NUM_THREADS, GPU_KERNEL_MAX_REGISTERS) | ||||
| kernel_gpu_shader_eval_background(KernelShaderEvalInput *input, | kernel_gpu_shader_eval_background(KernelShaderEvalInput *input, | ||||
| float *output, | float *output, | ||||
| const int offset, | const int offset, | ||||
| const int work_size) | const int work_size) | ||||
| { | { | ||||
| int i = ccl_gpu_global_id_x(); | int i = ccl_gpu_global_id_x(); | ||||
| if (i < work_size) { | if (i < work_size) { | ||||
| kernel_background_evaluate(NULL, input, output, offset + i); | kernel_background_evaluate(NULL, input, output, offset + i); | ||||
| } | } | ||||
| } | } | ||||
| /* Curve Shadow Transparency */ | |||||
| ccl_gpu_kernel(GPU_KERNEL_BLOCK_NUM_THREADS, GPU_KERNEL_MAX_REGISTERS) | |||||
| kernel_gpu_shader_eval_curve_shadow_transparency(KernelShaderEvalInput *input, | |||||
| float *output, | |||||
| const int offset, | |||||
| const int work_size) | |||||
| { | |||||
| int i = ccl_gpu_global_id_x(); | |||||
| if (i < work_size) { | |||||
| kernel_curve_shadow_transparency_evaluate(NULL, input, output, offset + i); | |||||
| } | |||||
| } | |||||
| /* -------------------------------------------------------------------- | /* -------------------------------------------------------------------- | ||||
| * Denoising. | * Denoising. | ||||
| */ | */ | ||||
| ccl_gpu_kernel(GPU_KERNEL_BLOCK_NUM_THREADS, GPU_KERNEL_MAX_REGISTERS) | ccl_gpu_kernel(GPU_KERNEL_BLOCK_NUM_THREADS, GPU_KERNEL_MAX_REGISTERS) | ||||
| kernel_gpu_filter_color_preprocess(float *render_buffer, | kernel_gpu_filter_color_preprocess(float *render_buffer, | ||||
| int full_x, | int full_x, | ||||
| int full_y, | int full_y, | ||||
| ▲ Show 20 Lines • Show All 198 Lines • Show Last 20 Lines | |||||