$darkmode
Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
sphere_sort.glsl File Reference

Data Structures

struct  SphereInstance
 Per-instance data sent to the shader via an instanced VBO. More...
 
struct  Entry
 

Functions

 layout (local_size_x=1024) in
 
 layout (std430, binding=0) buffer DataBuffer
 
void main ()
 

Variables

uniform uint u_stage
 
uniform uint u_count
 
uniform uint u_count_pot
 
uniform vec3 u_cam_pos
 
uniform uint u_j
 
uniform uint u_k
 
shared Entry s_entries [1024]
 

Function Documentation

◆ layout() [1/2]

layout ( local_size_x  = 1024)

◆ layout() [2/2]

layout ( std430  ,
binding  = 0 
)

◆ main()

void main ( )

Variable Documentation

◆ s_entries

shared Entry s_entries[1024]

◆ u_cam_pos

uniform vec3 u_cam_pos

◆ u_count

uniform uint u_count

◆ u_count_pot

uniform uint u_count_pot

◆ u_j

uniform uint u_j

◆ u_k

uniform uint u_k

◆ u_stage

uniform uint u_stage