world_cache_checksums
#
Copy import statement
Used by 1 shader in bevy_solari 0.18.1
@group (1 )
@binding (14 )
var <storage, read_write >
world_cache_checksums:
array <atomic <u32 >, #{WORLD_CACHE_SIZE}>
world_cache_life
#
Copy import statement
Used by 2 shaders in bevy_solari 0.18.1
Active when
WORLD_CACHE_NON_ATOMIC_LIFE_BUFFER
@group (1 )
@binding (15 )
var <storage, read_write >
world_cache_life:
array <u32 , #{WORLD_CACHE_SIZE}>
Active when
!WORLD_CACHE_NON_ATOMIC_LIFE_BUFFER
@group (1 )
@binding (15 )
var <storage, read_write >
world_cache_life:
array <atomic <u32 >, #{WORLD_CACHE_SIZE}>
world_cache_radiance
#
Copy import statement
Used by 2 shaders in bevy_solari 0.18.1
@group (1 )
@binding (16 )
var <storage, read_write >
world_cache_radiance:
array <vec4 <f32 >, #{WORLD_CACHE_SIZE}>
world_cache_geometry_data
#
Copy import statement
Used by 1 shader in bevy_solari 0.18.1
world_cache_luminance_deltas
#
Copy import statement
Used by 2 shaders in bevy_solari 0.18.1
@group (1 )
@binding (18 )
var <storage, read_write >
world_cache_luminance_deltas:
array <f32 , #{WORLD_CACHE_SIZE}>
world_cache_active_cells_new_radiance
#
Copy import statement
Used by 1 shader in bevy_solari 0.18.1
@group (1 )
@binding (19 )
var <storage, read_write >
world_cache_active_cells_new_radiance:
array <vec3 <f32 >, #{WORLD_CACHE_SIZE}>
world_cache_a
#
Copy import statement
Used by 1 shader in bevy_solari 0.18.1
@group (1 )
@binding (20 )
var <storage, read_write >
world_cache_a:
array <u32 , #{WORLD_CACHE_SIZE}>
world_cache_b
#
Copy import statement
Used by 1 shader in bevy_solari 0.18.1
@group (1 )
@binding (21 )
var <storage, read_write >
world_cache_b:
array <u32 , 1024u>
world_cache_active_cell_indices
#
Copy import statement
Used by 2 shaders in bevy_solari 0.18.1
@group (1 )
@binding (22 )
var <storage, read_write >
world_cache_active_cell_indices:
array <u32 , #{WORLD_CACHE_SIZE}>
world_cache_active_cells_count
#
Copy import statement
Used by 2 shaders in bevy_solari 0.18.1
@group (1 )
@binding (23 )
var <storage, read_write >
world_cache_active_cells_count:
u32
WorldCacheGeometryData
#
Copy import statement
struct
WorldCacheGeometryData
{
}
query_world_cache
#
Copy import statement
Used by 3 shaders in bevy_solari 0.18.1
Active when
!WORLD_CACHE_NON_ATOMIC_LIFE_BUFFER
fn
query_world_cache
(
)
->
vec3 <f32 >
get_cell_size
#
Copy import statement
Used by 1 shader in bevy_solari 0.18.1
fn
get_cell_size
(
)
->
f32
quantize_position
#
Copy import statement
fn
quantize_position
(
)
->
vec3 <f32 >
quantize_normal
#
Copy import statement
fn
quantize_normal
(
)
->
vec3 <f32 >
compute_key
#
Copy import statement
fn
compute_key
(
)
->
u32
compute_checksum
#
Copy import statement
fn
compute_checksum
(
)
->
u32
pcg_hash
#
Copy import statement
iqint_hash
#
Copy import statement
wrap_key
#
Copy import statement
Contents