Fix spectre log breakage

Signed-off-by: John McCutchan <john@johnmccutchan.com>
Fix setting of samplers and textures

Signed-off-by: John McCutchan <john@johnmccutchan.com>