Unless I'm missing something, this means that it is not possible to, say, call `Sample()` on a buffer, which I'm not sure it's right.
Seems that the only available methods for Buffer are `.Load()` and `.GetDimensions()`.
Could you please add a few tests checking that the various places in which we accept `HLSL_TYPE_TEXTURE` types also make sense with buffers? It might be the occasion to convert `add_*_method_call()` to a positive logic rather than the current negative logic that some of those functions have.
I added 1/6 to invert the logic, added some tests for the methods that should work and updated 6/6 to better handle them.