Fix for 'buf' being undefined.

This enables texture buffers, using the 'buf' keyword, and seems to create the Buffer<> correctly.

Also has early code for structured loads, but that part is not working correctly yet.