Skip to content

buildStubProgram() can't be parsed by glslang #727

@ben-clayton

Description

@ben-clayton

The shader produced by stub_program.go causes replay errors:

E 07:41:18.160 gapis glShaderSource() compat: Failed to convert vertex shader.
├──    Failed to parse original source code:
├──    Compilation failed:
├──    ERROR: 0:3: '' :  syntax error, unexpected IDENTIFIER
├──    ERROR: 1 compilation errors.  No code generated.
├──    
├──    
├──    Translated source:
├──    1:
├──    Original source:
├──     1: // GAPII stub vertex shader
├──     2: #version 110
└──     3: precision highp float;

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions