Textures now call into shaders

Allows stack allocations from TEXTURE code.