Revert "renderer: check for shader_text validity"

This reverts commit 3193c2cbab.

This commit broke all shaders.

Signed-off-by: Jakob Bornecrantz <jakob@collabora.com>
macos/master
Jakob Bornecrantz 6 years ago
parent c37e9e688a
commit fd10f0a017
  1. 3
      src/vrend_renderer.c

@ -2929,9 +2929,6 @@ int vrend_create_shader(struct vrend_context *ctx,
bool finished = false;
int ret;
if (pkt_length == 0 || shd_text[pkt_length - 1] != '\0')
return EINVAL;
if (type > PIPE_SHADER_COMPUTE)
return EINVAL;

Loading…
Cancel
Save