shader: drop the unsupported file declaration for sampler views

These aren't required to be parsed, but we can them.
macos/master
Dave Airlie 9 years ago
parent 814f638d42
commit 674d730e90
  1. 2
      src/vrend_shader.c

@ -521,6 +521,8 @@ iter_declaration(struct tgsi_iterate_context *iter,
case TGSI_FILE_SAMPLER:
ctx->samplers_used |= (1 << decl->Range.Last);
break;
case TGSI_FILE_SAMPLER_VIEW:
break;
case TGSI_FILE_CONSTANT:
if (decl->Declaration.Dimension) {
if (ctx->num_ubo >= ARRAY_SIZE(ctx->ubo_idx)) {

Loading…
Cancel
Save