printf format
This commit is contained in:
parent
988cd6769c
commit
1dad92000b
@ -122,7 +122,7 @@ void TType::buildMangledName(TString& mangledName) const
|
|||||||
mangledName += "-tx-struct";
|
mangledName += "-tx-struct";
|
||||||
|
|
||||||
char text[16]; // plenty enough space for the small integers.
|
char text[16]; // plenty enough space for the small integers.
|
||||||
snprintf(text, sizeof(text), "%d-", sampler.getStructReturnIndex());
|
snprintf(text, sizeof(text), "%u-", sampler.getStructReturnIndex());
|
||||||
mangledName += text;
|
mangledName += text;
|
||||||
} else {
|
} else {
|
||||||
switch (sampler.getVectorSize()) {
|
switch (sampler.getVectorSize()) {
|
||||||
|
@ -1188,7 +1188,7 @@ void TReflection::dump()
|
|||||||
|
|
||||||
for (int dim=0; dim<3; ++dim)
|
for (int dim=0; dim<3; ++dim)
|
||||||
if (getLocalSize(dim) > 1)
|
if (getLocalSize(dim) > 1)
|
||||||
printf("Local size %s: %d\n", axis[dim], getLocalSize(dim));
|
printf("Local size %s: %u\n", axis[dim], getLocalSize(dim));
|
||||||
|
|
||||||
printf("\n");
|
printf("\n");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user