mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
draw/llvm: another quick hack for drawing with no position output
Also need to skip things if we have no cv value but pos value (happens with geometry shaders enabled). Needs a round of cleanup, though.
This commit is contained in:
parent
ef17cc9cb6
commit
9060c835fd
1 changed files with 1 additions and 1 deletions
|
|
@ -1354,7 +1354,7 @@ draw_llvm_generate(struct draw_llvm *llvm, struct draw_llvm_variant *variant,
|
|||
sampler,
|
||||
variant->key.clamp_vertex_color);
|
||||
|
||||
if (pos != -1) {
|
||||
if (pos != -1 && cv != -1) {
|
||||
/* store original positions in clip before further manipulation */
|
||||
store_clip(gallivm, vs_type, io, outputs, 0, cv);
|
||||
store_clip(gallivm, vs_type, io, outputs, 1, pos);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue