Lines Matching refs:textureDimensions
284 Value * textureDimensions = module->getGlobalVariable(_PF2_TEXTURE_DIMENSIONS_NAME_);
285 if (!textureDimensions)
286 textureDimensions = new GlobalVariable(*module, intType, true,
289 Value * textureWidth = builder.CreateConstInBoundsGEP1_32(textureDimensions,
292 Value * textureHeight = builder.CreateConstInBoundsGEP1_32(textureDimensions,
381 Value * textureDimensions = module->getGlobalVariable(_PF2_TEXTURE_DIMENSIONS_NAME_);
382 if (!textureDimensions)
383 textureDimensions = new GlobalVariable(*module, intType, true,
386 Value * textureWidth = builder.CreateConstInBoundsGEP1_32(textureDimensions,
389 Value * textureHeight = builder.CreateConstInBoundsGEP1_32(textureDimensions,