mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 18:28:12 +02:00
tgsi: silence MSVC signed/unsigned comparison warnings
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
parent
34a5fd2a39
commit
198d1bdb5f
2 changed files with 2 additions and 2 deletions
|
|
@ -406,7 +406,7 @@ iter_property(
|
|||
struct tgsi_iterate_context *iter,
|
||||
struct tgsi_full_property *prop )
|
||||
{
|
||||
int i;
|
||||
unsigned i;
|
||||
struct dump_ctx *ctx = (struct dump_ctx *)iter;
|
||||
|
||||
TXT( "PROPERTY " );
|
||||
|
|
|
|||
|
|
@ -1057,7 +1057,7 @@ fetch_src_file_channel(const struct tgsi_exec_machine *mach,
|
|||
const uint *buf = (const uint *)mach->Consts[constbuf];
|
||||
const int pos = index->i[i] * 4 + swizzle;
|
||||
/* const buffer bounds check */
|
||||
if (pos < 0 || pos >= mach->ConstsSize[constbuf]) {
|
||||
if (pos < 0 || pos >= (int) mach->ConstsSize[constbuf]) {
|
||||
if (0) {
|
||||
/* Debug: print warning */
|
||||
static int count = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue