OSDN Git Service

draw,tgsi: Assume TGSI_PROPERTY_GS_INVOCATIONS default of 1.
authorJose Fonseca <jfonseca@vmware.com>
Tue, 23 Jun 2015 11:18:06 +0000 (12:18 +0100)
committerJose Fonseca <jfonseca@vmware.com>
Tue, 23 Jun 2015 11:19:52 +0000 (12:19 +0100)
commitbe5f71d4a52c9ef72f63bb6c339fe0110f2027af
treea05819eb92806bf9b678f8c957d2a9a88727549c
parent634cfb9a458bcc1051b60ab13bd12e17bba0f71b
draw,tgsi: Assume TGSI_PROPERTY_GS_INVOCATIONS default of 1.

If the shader doesn't specify number of invocations, assume one.

This fixes geometry shaders on state trackers other than Mesa (and
probably graw tests too.)

Trivial.
src/gallium/auxiliary/tgsi/tgsi_scan.c