diff options
author | Jason Ekstrand <[email protected]> | 2016-11-10 22:31:32 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-11-16 20:07:23 -0800 |
commit | 955714759257e81f01f013c84d2bd7f14a0ec04f (patch) | |
tree | fbd460804079bf8654fed125b4bbbc9281b18f58 /src/compiler/glsl/ast_array_index.cpp | |
parent | 1c97432ce88ea272ff7d906cd36f70e09dafcab9 (diff) |
nir/spirv: Fix handling of gl_PrimitiveId
Before, we were always treating it as an output which bogus. The only
stage in which this it can be an output is the geometry stage. In all
other stages, it's an input which, in the back-end, we actually want to be
a system value.
Cc: "13.0" <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/compiler/glsl/ast_array_index.cpp')
0 files changed, 0 insertions, 0 deletions