mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
r300g: Remove extra printf format specifiers.
Fix warning reported by Coverity Scan. Missing argument to printf format specifier (PRINTF_ARGS) missing_argument: No argument for format specifier %s. Fixes:04c1536bf7("r300g: rasterizer debug logging") Fixes:85efb2fff0("r300g: try to use color varyings for texcoords if max texcoord limit is exceeded") Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5274> (cherry picked from commitd2f8105b60)
This commit is contained in:
parent
fdd9b31fc1
commit
2e35ca295b
2 changed files with 3 additions and 3 deletions
|
|
@ -3226,7 +3226,7 @@
|
|||
"description": "r300g: Remove extra printf format specifiers.",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "04c1536bf7abe253e0e900c311ff9474ff4d1813"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -376,7 +376,7 @@ static void r300_update_rs_block(struct r300_context *r300)
|
|||
if (fs_inputs->color[i] != ATTR_UNUSED) {
|
||||
fp_offset++;
|
||||
|
||||
DBG(r300, DBG_RS, "r300: FS input color %i unassigned%s.\n",
|
||||
DBG(r300, DBG_RS, "r300: FS input color %i unassigned.\n",
|
||||
i);
|
||||
}
|
||||
}
|
||||
|
|
@ -474,7 +474,7 @@ static void r300_update_rs_block(struct r300_context *r300)
|
|||
if (fs_inputs->generic[i] != ATTR_UNUSED) {
|
||||
fp_offset++;
|
||||
|
||||
DBG(r300, DBG_RS, "r300: FS input generic %i unassigned%s.\n", i);
|
||||
DBG(r300, DBG_RS, "r300: FS input generic %i unassigned.\n", i);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue