Implemented better erroring on TextureHandle encountered as a shader parameter.