1. A processor comprising: a memory; and a plurality of execution units; wherein the processor is configured to: generate, based on a rotated grid, a plurality of sub-pixel sampling coordinates for each pixel of an image being rendered, wherein an amount of rotation is specified for the rotated grid and a slope of the rotated grid is selected to be equal to a ratio of two mutually prime numbers; sample sub-pixel locations indicated by the plurality of sub-pixel sampling coordinates within each pixel of the image being rendered by the plurality of execution units; and store values of the sub-pixel locations in the memory.