diff options
author | Kenneth Graunke <[email protected]> | 2016-02-09 02:12:07 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-02-09 12:34:11 -0800 |
commit | 8b0f6de73d7bf5cc2b9bb189e5a3fe4d48dd1017 (patch) | |
tree | 72d2b8858be4961efe7e39d1f95b1e3d87fd9250 /src/compiler/nir/nir_intrinsics.c | |
parent | 329181ae3329dc7d6f0aac62a86c4209444d5725 (diff) |
glsl: Disallow transform feedback varyings with compute shaders.
If the only stage is MESA_SHADER_COMPUTE, we should complain that
there's nothing coming out of the geometry shader stage just as
we would if the first stage were MESA_SHADER_FRAGMENT.
Also, it's valid for tessellation shaders to be the stage producing
transform feedback varyings, so mention those in the compiler error.
Found by inspection.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_intrinsics.c')
0 files changed, 0 insertions, 0 deletions