1. A method for associating fragments with stencil bits included in stencil values, the method comprising: computing a number of fragments defined per stencil value based on a number of stencil bits defined per fragment and a number of stencil bits defined per stencil value; computing a quantity of mask index bits for addressing a number of stencil masks equal to the number of fragments defined per stencil value; partitioning a set of bits included in an original virtual address associated with a first fragment into a first number of mask index bits, a set of most significant bits, and a set of least significant bits; computing a first stencil mask based on the first number of mask index bits, wherein the first stencil mask includes a first number of bits equal to the number of stencil bits defined per fragment; computing a modified virtual address based on the set of most significant bits and the set of least significant bits; selecting a stencil value based on the modified virtual address; and performing, via a processor, a logical operation between the first stencil mask and the stencil value to associate the first fragment with the first number of bits included in the first stencil mask.