mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
pan/mdg: Cleanup comments that look like division
Don't use a /. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5154>
This commit is contained in:
parent
55da8bcede
commit
c6c906ecdf
3 changed files with 4 additions and 4 deletions
|
|
@ -1555,8 +1555,8 @@ print_texture_word(FILE *fp, uint32_t *word, unsigned tabs, unsigned in_reg_base
|
|||
fprintf(fp, " /* bias_int = 0x%X */", texture->bias_int);
|
||||
} else if (texture->op == TEXTURE_OP_TEXEL_FETCH) {
|
||||
/* For texel fetch, the int LOD is in the fractional place and
|
||||
* there is no fraction / possibility of bias. We *always* have
|
||||
* an explicit LOD, even if it's zero. */
|
||||
* there is no fraction. We *always* have an explicit LOD, even
|
||||
* if it's zero. */
|
||||
|
||||
if (texture->bias_int)
|
||||
fprintf(fp, " /* bias_int = 0x%X */ ", texture->bias_int);
|
||||
|
|
|
|||
|
|
@ -724,7 +724,7 @@ __attribute__((__packed__))
|
|||
|
||||
/* In immediate mode, each offset field is an immediate range [0, 7].
|
||||
*
|
||||
* In register mode, offset_x becomes a register full / select / upper
|
||||
* In register mode, offset_x becomes a register (full, select, upper)
|
||||
* triplet followed by a vec3 swizzle is splattered across
|
||||
* offset_y/offset_z in a genuinely bizarre way.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -1772,7 +1772,7 @@ midgard_tex_format(enum glsl_sampler_dim dim)
|
|||
}
|
||||
}
|
||||
|
||||
/* Tries to attach an explicit LOD / bias as a constant. Returns whether this
|
||||
/* Tries to attach an explicit LOD or bias as a constant. Returns whether this
|
||||
* was successful */
|
||||
|
||||
static bool
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue