|
Blender V5.3
|
#include "gpu_shader_compat.hh"Go to the source code of this file.
| void hash_final | ( | uint & | a, |
| uint & | b, | ||
| uint & | c ) |
Definition at line 35 of file gpu_shader_common_hash.bsl.hh.
References b, force_inline, and hash_final().
Referenced by hash_final(), hash_uint(), hash_uint2(), hash_uint3(), and hash_uint4().
Definition at line 195 of file gpu_shader_common_hash.bsl.hh.
References floatBitsToUint, hash_float_to_float(), and hash_uint_to_float().
Referenced by hash_float_to_color(), hash_float_to_float(), hash_float_to_float(), hash_float_to_float2(), hash_float_to_float3(), hash_float_to_vec2(), hash_float_to_vec3(), hash_float_to_vector2(), hash_float_to_vector3(), node_white_noise_1d(), random_float_offset(), random_float_offset(), svm_node_tex_white_noise(), voronoi_distance_to_edge(), voronoi_distance_to_edge(), voronoi_f1(), voronoi_f1(), voronoi_f2(), voronoi_f2(), voronoi_n_sphere_radius(), voronoi_n_sphere_radius(), voronoi_smooth_f1(), and voronoi_smooth_f1().
Definition at line 292 of file gpu_shader_common_hash.bsl.hh.
References hash_float_to_float(), hash_float_to_vec2(), and hash_vec2_to_float().
Referenced by hash_float_to_vec2().
Definition at line 270 of file gpu_shader_common_hash.bsl.hh.
References hash_float_to_float(), hash_float_to_vec3(), and hash_vec2_to_float().
Referenced by hash_float_to_vec3(), node_white_noise_1d(), voronoi_f1(), voronoi_f2(), and voronoi_smooth_f1().
| uint hash_int | ( | int | kx | ) |
Definition at line 105 of file gpu_shader_common_hash.bsl.hh.
References hash_int(), and hash_uint().
Referenced by hash_int(), and noise_perlin().
| uint hash_int2 | ( | int | kx, |
| int | ky ) |
Definition at line 110 of file gpu_shader_common_hash.bsl.hh.
References hash_int2(), and hash_uint2().
Referenced by hash_int2(), and noise_perlin().
Definition at line 240 of file gpu_shader_common_hash.bsl.hh.
References float, hash_int2_to_vec2(), and hash_pcg2d_i().
Referenced by hash_int2_to_vec2(), voronoi_distance_to_edge(), voronoi_f1(), voronoi_f2(), voronoi_n_sphere_radius(), and voronoi_smooth_f1().
Definition at line 258 of file gpu_shader_common_hash.bsl.hh.
References hash_int2_to_vec3(), hash_int3_to_vec3(), int2::x, and int2::y.
Referenced by hash_int2_to_vec3(), voronoi_f1(), voronoi_f2(), and voronoi_smooth_f1().
| uint hash_int3 | ( | int | kx, |
| int | ky, | ||
| int | kz ) |
Definition at line 115 of file gpu_shader_common_hash.bsl.hh.
References hash_int3(), and hash_uint3().
Referenced by hash_int3(), and noise_perlin().
Definition at line 246 of file gpu_shader_common_hash.bsl.hh.
References float, hash_int3_to_vec3(), and hash_pcg3d_i().
Referenced by hash_int2_to_vec3(), hash_int3_to_vec3(), voronoi_distance_to_edge(), voronoi_f1(), voronoi_f2(), voronoi_n_sphere_radius(), and voronoi_smooth_f1().
| uint hash_int4 | ( | int | kx, |
| int | ky, | ||
| int | kz, | ||
| int | kw ) |
Definition at line 120 of file gpu_shader_common_hash.bsl.hh.
References hash_int4(), and hash_uint4().
Referenced by hash_int4(), and noise_perlin().
Definition at line 263 of file gpu_shader_common_hash.bsl.hh.
References hash_int4_to_vec3(), and hash_int4_to_vec4().
Referenced by hash_int4_to_vec3(), voronoi_f1(), voronoi_f2(), and voronoi_smooth_f1().
Definition at line 252 of file gpu_shader_common_hash.bsl.hh.
References float, hash_int4_to_vec4(), and hash_pcg4d_i().
Referenced by hash_int4_to_vec3(), hash_int4_to_vec4(), voronoi_distance_to_edge(), voronoi_f1(), voronoi_f2(), voronoi_n_sphere_radius(), and voronoi_smooth_f1().
| void hash_mix | ( | uint & | a, |
| uint & | b, | ||
| uint & | c ) |
Definition at line 13 of file gpu_shader_common_hash.bsl.hh.
References b, force_inline, and hash_mix().
Referenced by hash_mix(), and hash_uint4().
Definition at line 132 of file gpu_shader_common_hash.bsl.hh.
References hash_pcg2d_i().
Referenced by hash_int2_to_float2(), hash_int2_to_vec2(), and hash_pcg2d_i().
Definition at line 143 of file gpu_shader_common_hash.bsl.hh.
References hash_pcg3d_i().
Referenced by hash_int3_to_float3(), hash_int3_to_vec3(), and hash_pcg3d_i().
Definition at line 156 of file gpu_shader_common_hash.bsl.hh.
References hash_pcg4d_i().
Referenced by hash_int4_to_float4(), hash_int4_to_vec4(), and hash_pcg4d_i().
| uint hash_uint | ( | uint | kx | ) |
Definition at line 53 of file gpu_shader_common_hash.bsl.hh.
References b, hash_final(), and hash_uint().
Referenced by Integrator::device_update(), hash_int(), hash_uint(), hash_uint(), hash_uint_to_float(), hash_uint_to_float(), hash_value_float_to_uint(), hash_value_int(), integrator_init_from_bake(), and perlin_1d().
| uint hash_uint2 | ( | uint | kx, |
| uint | ky ) |
Definition at line 64 of file gpu_shader_common_hash.bsl.hh.
References b, hash_final(), and hash_uint2().
Referenced by cycles_precompute(), Integrator::device_update(), hash_int2(), hash_uint2(), hash_uint2(), hash_uint2_to_float(), hash_uint2_to_float(), hash_value_color(), hash_value_float(), hash_value_int(), hash_value_matrix(), hash_value_rotation(), hash_value_vector(), SubEdge::Hash::operator()(), perlin_2d(), random_value_int(), BlenderSession::render(), and BlenderSync::sync_integrator().
| float hash_uint2_to_float | ( | uint | kx, |
| uint | ky ) |
Definition at line 178 of file gpu_shader_common_hash.bsl.hh.
References float, hash_uint2(), and hash_uint2_to_float().
Referenced by Object::adjust_volume_tfm(), export_hair_curves(), export_pointcloud(), ExportCurveSegments(), hash_float2_to_float(), hash_uint2_to_float(), hash_uint2_to_float(), hash_vec2_to_float(), osl_shared_get_object_standard_attribute(), random_value_bool(), random_value_float(), and svm_node_particle_info().
| uint hash_uint3 | ( | uint | kx, |
| uint | ky, | ||
| uint | kz ) |
Definition at line 76 of file gpu_shader_common_hash.bsl.hh.
References b, hash_final(), and hash_uint3().
Referenced by mikk::Mikktspace< Mesh >::buildNeighbors(), Integrator::device_update(), hash_int3(), hash_uint3(), hash_uint3(), hash_uint3_to_float(), hash_uint3_to_float(), hash_value_vec3_to_uint(), lcg_state_init(), ImageCache::DeviceImageKey::Hash::operator()(), VertHash::operator()(), and perlin_3d().
| float hash_uint3_to_float | ( | uint | kx, |
| uint | ky, | ||
| uint | kz ) |
Definition at line 183 of file gpu_shader_common_hash.bsl.hh.
References float, hash_uint3(), and hash_uint3_to_float().
Referenced by hash_float3_to_float(), hash_uint3_to_float(), hash_uint3_to_float(), hash_vec3_to_float(), and random_value_vector().
| uint hash_uint4 | ( | uint | kx, |
| uint | ky, | ||
| uint | kz, | ||
| uint | kw ) |
Definition at line 89 of file gpu_shader_common_hash.bsl.hh.
References b, hash_final(), hash_mix(), and hash_uint4().
Referenced by hash_int4(), hash_uint4(), hash_uint4(), hash_uint4_to_float(), hash_uint4_to_float(), hash_value_mat4_to_uint(), hash_value_vec4_to_uint(), and perlin_4d().
| float hash_uint4_to_float | ( | uint | kx, |
| uint | ky, | ||
| uint | kz, | ||
| uint | kw ) |
Definition at line 188 of file gpu_shader_common_hash.bsl.hh.
References float, hash_uint4(), and hash_uint4_to_float().
Referenced by hash_float4_to_float(), hash_uint4_to_float(), hash_uint4_to_float(), and hash_vec4_to_float().
| float hash_uint_to_float | ( | uint | kx | ) |
Definition at line 173 of file gpu_shader_common_hash.bsl.hh.
References float, hash_uint(), and hash_uint_to_float().
Referenced by attr_create_random_per_island(), hash_float_to_float(), hash_float_to_float(), hash_uint_to_float(), and hash_uint_to_float().
Definition at line 200 of file gpu_shader_common_hash.bsl.hh.
References floatBitsToUint, hash_uint2_to_float(), hash_vec2_to_float(), float2::x, and float2::y.
Referenced by workbench::prepass::frag_opaque(), hash_float_to_vec2(), hash_float_to_vec3(), hash_vec2_to_float(), hash_vec2_to_vec2(), hash_vec2_to_vec3(), node_white_noise_2d(), random_vec2_offset(), random_vec3_offset(), and random_vec4_offset().
Definition at line 218 of file gpu_shader_common_hash.bsl.hh.
References hash_vec2_to_float(), hash_vec2_to_vec2(), and hash_vec3_to_float().
Referenced by hash_vec2_to_vec2().
Definition at line 277 of file gpu_shader_common_hash.bsl.hh.
References hash_vec2_to_float(), hash_vec2_to_vec3(), and hash_vec3_to_float().
Referenced by hash_vec2_to_vec3(), and node_white_noise_2d().
Definition at line 205 of file gpu_shader_common_hash.bsl.hh.
References floatBitsToUint, hash_uint3_to_float(), hash_vec3_to_float(), float3::x, float3::y, and float3::z.
Referenced by compute_2d_gabor_noise_cell(), hash_vec2_to_vec2(), hash_vec2_to_vec3(), hash_vec3_to_float(), hash_vec3_to_vec2(), hash_vec3_to_vec3(), and node_white_noise_3d().
Definition at line 297 of file gpu_shader_common_hash.bsl.hh.
References hash_vec3_to_float(), and hash_vec3_to_vec2().
Referenced by compute_2d_gabor_noise_cell(), and hash_vec3_to_vec2().
Definition at line 223 of file gpu_shader_common_hash.bsl.hh.
References hash_vec3_to_float(), hash_vec3_to_vec3(), and hash_vec4_to_float().
Referenced by hash_vec3_to_vec3(), and node_white_noise_3d().
Definition at line 210 of file gpu_shader_common_hash.bsl.hh.
References floatBitsToUint, hash_uint4_to_float(), hash_vec4_to_float(), float4::w, float4::x, float4::y, and float4::z.
Referenced by compute_3d_gabor_noise_cell(), hash_vec3_to_vec3(), hash_vec4_to_float(), hash_vec4_to_vec2(), hash_vec4_to_vec3(), hash_vec4_to_vec4(), and node_white_noise_4d().
Definition at line 302 of file gpu_shader_common_hash.bsl.hh.
References hash_vec4_to_float(), and hash_vec4_to_vec2().
Referenced by compute_3d_orientation(), and hash_vec4_to_vec2().
Definition at line 284 of file gpu_shader_common_hash.bsl.hh.
References hash_vec4_to_float(), and hash_vec4_to_vec3().
Referenced by compute_3d_gabor_noise_cell(), hash_vec4_to_vec3(), and node_white_noise_4d().
Definition at line 230 of file gpu_shader_common_hash.bsl.hh.
References hash_vec4_to_float(), and hash_vec4_to_vec4().
Referenced by hash_vec4_to_vec4().
| float integer_noise | ( | int | n | ) |
Definition at line 309 of file gpu_shader_common_hash.bsl.hh.
References float, and integer_noise().
Referenced by calc_brick_texture(), and integer_noise().
| float wang_hash_noise | ( | uint | s | ) |
Definition at line 320 of file gpu_shader_common_hash.bsl.hh.
References fract(), and wang_hash_noise().
Referenced by node_hair_info(), node_point_info(), and wang_hash_noise().