Change extraneous sampler/texture check to an assertion.

Bug: b/295169976
Change-Id: Ib14e665f1842375d5e09ec58911a888d0a5958bd
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/746362
Commit-Queue: Brian Osman <brianosman@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
1 file changed