MSVC warning fix - conversion from size_t to int, possible loss of data
This commit is contained in:
parent
5184353326
commit
227e026dbf
@ -2121,7 +2121,7 @@ Id Builder::accessChainGetInferredType()
|
|||||||
if (accessChain.swizzle.size() == 1)
|
if (accessChain.swizzle.size() == 1)
|
||||||
type = getContainedTypeId(type);
|
type = getContainedTypeId(type);
|
||||||
else if (accessChain.swizzle.size() > 1)
|
else if (accessChain.swizzle.size() > 1)
|
||||||
type = makeVectorType(getContainedTypeId(type), accessChain.swizzle.size());
|
type = makeVectorType(getContainedTypeId(type), (int)accessChain.swizzle.size());
|
||||||
|
|
||||||
// dereference component selection
|
// dereference component selection
|
||||||
if (accessChain.component)
|
if (accessChain.component)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user