To do a depth test, we need to :
- encode the depth and color into a 64 int
- use atomicMax to compare and write the encoded value to avoid writing conflict
- decode the color and write it to the display render targert
But in WebGPU we don't have int64 type, how can we do it properly with WebGPU?
To do a depth test, we need to :
But in WebGPU we don't have int64 type, how can we do it properly with WebGPU?