Lines Matching refs:value
108 deUint32 getNextMultipleOffset (deUint32 divisor, deUint32 value)
110 if (value % divisor == 0)
113 return divisor - (value % divisor);
1439 void writeVertexInputValueSint (deUint8* destPtr, VkFormat format, int componentNdx, deInt32 value)
1447 *((deInt8*)destFormatPtr) = (deInt8)value;
1451 *((deInt16*)destFormatPtr) = (deInt16)value;
1455 *((deInt32*)destFormatPtr) = (deInt32)value;
1463 void writeVertexInputValueIntPacked(deUint8* destPtr, deUint32& packedFormat, deUint32& componentOffset, VkFormat format, deUint32 componentNdx, deUint32 value)
1470 packedFormat |= (((deUint32)value & usedBits) << componentOffset);
1476 void writeVertexInputValueUint (deUint8* destPtr, VkFormat format, int componentNdx, deUint32 value)
1484 *((deUint8 *)destFormatPtr) = (deUint8)value;
1488 *((deUint16 *)destFormatPtr) = (deUint16)value;
1492 *((deUint32 *)destFormatPtr) = (deUint32)value;
1500 void writeVertexInputValueSfloat (deUint8* destPtr, VkFormat format, int componentNdx, float value)
1509 deFloat16 f16 = deFloat32To16(value);
1515 deMemcpy(destFormatPtr, &value, sizeof(value));
1523 void writeVertexInputValueUfloat (deUint8* destPtr, deUint32& packedFormat, deUint32& componentOffset, VkFormat format, deUint32 componentNdx, float value)
1525 deFloat16 f16 = deFloat32To16(value);