Hot answers tagged

3

First of all, I don't think you need volatile or memory barriers if you're just using atomic operations. Atomic operations are always supposed to be atomic regardless. However, having everything accumulate directly into one (or a small number) of atomic variables is not advisable because there will be too much contention on those few memory locations, thus ...


1

Here are a few steps to (hopefully) help get you going: Rendering the cube: For the geometry a simple cube is needed, so really the first step is just to get a cube rendering just like you would expect, I suggest placing the cube at the origin in both world and object space. After you are happy with the way the cube is rendered, change the winding direction ...


Only top voted, non community-wiki answers of a minimum length are eligible