gallium: Generalize the alignment macros to other compilers and any alignment.
[mesa.git] / src / gallium / drivers / cell / spu / spu_per_fragment_op.c
index 683664e8a4e90fc2aff9582704cd49b6116af2e4..eba9f95cf1f3e17b282b6b6f36fe1bc1182e21ce 100644 (file)
@@ -85,7 +85,7 @@ spu_fallback_fragment_ops(uint x, uint y,
     * Do alpha test
     */
    if (spu.depth_stencil_alpha.alpha.enabled) {
-      vector float ref = spu_splats(spu.depth_stencil_alpha.alpha.ref);
+      vector float ref = spu_splats(spu.depth_stencil_alpha.alpha.ref_value);
       vector unsigned int amask;
 
       switch (spu.depth_stencil_alpha.alpha.func) {