commit | 0e394cda0db60ce8b584aac37913b793847ad518 | [log] [tgz] |
---|---|---|
author | Vasily Khoruzhick <anarsoul@gmail.com> | Thu Aug 15 22:17:26 2019 -0700 |
committer | Vasily Khoruzhick <anarsoul@gmail.com> | Sat Aug 17 11:14:40 2019 -0700 |
tree | 22a45ab4d021546b8b5e3cbe96b0cc88a89b824c | |
parent | 16edd02bfa872c9af8725f732d81760c948d76e8 [diff] |
glsl/standalone: init shader stage in init_gl_program() Otherwise lima standalone compiler fails when trying to compile fragment shader with: lima_compiler: ../src/compiler/nir/nir.c:55: nir_shader_create: Assertion `si->stage == stage' failed Reviewed-by: Qiang Yu <yuq825@gmail.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>