/**
- * Performs optimisations and blending independent of SoA/AoS
+ * Performs optimizations and blending independent of SoA/AoS
*
* @param func the blend function
* @param factor_src PIPE_BLENDFACTOR_xxx
{
/*
* Fragment shader expects pre-multiplied w for LP_INTERP_PERSPECTIVE. A
- * better stratergy would be to take the primitive in consideration when
+ * better strategy would be to take the primitive in consideration when
* generating the fragment shader key, and therefore avoid the per-fragment
* perspective divide.
*/
* Per OpenGL 2.1 spec, section 3.3.1, "Basic Point Rasterization".
*
* This type of point rasterization is only available in pre 3.0 contexts
- * (or compatibilility contexts which we don't support) anyway.
+ * (or compatibility contexts which we don't support) anyway.
*/
const int x0 = subpixel_snap(v0[0][0]);
}
/*
- * We need to re-check lp->nr_cs_variants because an arbitrarliy large
+ * We need to re-check lp->nr_cs_variants because an arbitrarily large
* number of shader variants (potentially all of them) could be
* pending for destruction on flush.
*/
continue;
}
- /* Ensure we havn't already found all channels */
+ /* Ensure we haven't already found all channels */
if (dst_channels >= out_format_desc->nr_channels) {
continue;
}
memcpy(&state->draw_state, rast, sizeof *rast);
memcpy(&state->lp_state, rast, sizeof *rast);
- /* We rely on draw module to do unfilled polyons, AA lines and
+ /* We rely on draw module to do unfilled polygons, AA lines and
* points and stipple.
*
* Over time, reduce this list of conditions, and expand the list
/**
- * Applys cylindrical wrapping to vertex attributes if enabled.
+ * Apply cylindrical wrapping to vertex attributes if enabled.
* Input coordinates must be in [0, 1] range, otherwise results are undefined.
*
* @param cyl_wrap TGSI_CYLINDRICAL_WRAP_x flags
/* Known failures
* - fixed point 32 -> float 32
- * - float 32 -> signed normalised integer 32
+ * - float 32 -> signed normalized integer 32
*/
if ((src_type.floating && !dst_type.floating && dst_type.sign && dst_type.norm && src_type.width == dst_type.width) ||
(!src_type.floating && dst_type.floating && src_type.fixed && src_type.width == dst_type.width)) {
/* Known failures
* - fixed point 32 -> float 32
- * - float 32 -> signed normalised integer 32
+ * - float 32 -> signed normalized integer 32
*/
if ((src_type.floating && !dst_type.floating && dst_type.sign && dst_type.norm && src_type.width == dst_type.width) ||
(!src_type.floating && dst_type.floating && src_type.fixed && src_type.width == dst_type.width)) {