Constants
Bindings
@group(0)
@binding(1)
var<uniform>
view:
View
@group(0)
@binding(1)
var<uniform>
view:
View
@group(0)
@binding(1)
var<uniform>
view:
View
@if(MESHLET_VISIBILITY_BUFFER_RASTER_PASS)
@group(0)
@binding(8)
var<uniform>
view:
View
@group(0)
@binding(2)
var<uniform>
previous_view:
PreviousViewUniforms
@group(0)
@binding(2)
var<uniform>
previous_view:
PreviousViewUniforms
@group(0)
@binding(2)
var<uniform>
previous_view:
PreviousViewUniforms
@group(0)
@binding(11)
var<storage, read_write>
meshlet_second_pass_instance_dispatch:
DispatchIndirectArgs
@group(0)
@binding(11)
var<storage, read_write>
meshlet_meshlet_cull_dispatch_early:
DispatchIndirectArgs
@group(0)
@binding(12)
var<storage, read_write>
meshlet_meshlet_cull_dispatch_late:
DispatchIndirectArgs
@if(MESHLET_CLUSTER_CULLING_PASS && !MESHLET_FIRST_CULLING_PASS)
@group(0)
@binding(10)
var<storage, read>
meshlet_meshlet_cull_queue:
array<InstancedOffset>
@group(0)
@binding(15)
var<storage, read_write>
meshlet_second_pass_bvh_dispatch:
DispatchIndirectArgs
@group(0)
@binding(16)
var<storage, read_write>
meshlet_second_pass_bvh_queue:
array<InstancedOffset>
@group(0)
@binding(5)
var<storage, read_write>
meshlet_software_raster_indirect_args:
DispatchIndirectArgs
@group(0)
@binding(6)
var<storage, read_write>
meshlet_hardware_raster_indirect_args:
DrawIndirectArgs
@if(MESHLET_VISIBILITY_BUFFER_RASTER_PASS && MESHLET_VISIBILITY_BUFFER_RASTER_PASS_OUTPUT)
@group(0)
@binding(7)
var
meshlet_visibility_buffer:
texture_storage_2d<r64uint, atomic>
@if(MESHLET_VISIBILITY_BUFFER_RASTER_PASS && !MESHLET_VISIBILITY_BUFFER_RASTER_PASS_OUTPUT)
@group(0)
@binding(7)
var
meshlet_visibility_buffer:
texture_storage_2d<r32uint, atomic>
Either a BVH node or a meshlet, along with the instance it is associated with. Refers to BVH nodes in
meshlet_bvh_cull_queueandmeshlet_second_pass_bvh_queue, whereoffsetis the index intomeshlet_bvh_nodes. Refers to meshlets inmeshlet_meshlet_cull_queueandmeshlet_raster_clusters. Inmeshlet_meshlet_cull_queue,offsetis the index intomeshlet_cull_data. Inmeshlet_raster_clusters,offsetis the index intomeshlets.