| 571 | } |
| 572 | |
| 573 | unsigned GenericGpuShaderDesc::addTexture(const char * textureName, |
| 574 | const char * samplerName, |
| 575 | unsigned width, unsigned height, |
| 576 | TextureType channel, |
| 577 | TextureDimensions dimensions, |
| 578 | Interpolation interpolation, |
| 579 | const float * values) |
| 580 | { |
| 581 | return getImplGeneric()->addTexture(textureName, samplerName, width, height, channel, |
| 582 | dimensions, interpolation, values) |
| 583 | + getTextureBindingStart(); |
| 584 | } |
| 585 | |
| 586 | void GenericGpuShaderDesc::getTexture(unsigned index, |
| 587 | const char *& textureName, |
no outgoing calls
no test coverage detected