OSDN Git Service

tgsi/exec: make inputs/outputs optional for compute shaders.
authorDave Airlie <airlied@redhat.com>
Tue, 26 Apr 2016 04:28:56 +0000 (14:28 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 26 Apr 2016 23:00:41 +0000 (09:00 +1000)
commit8ffa3c58d4bfec789872c58a16da4af4352119f3
treecac7ff618cdca734d2175bbf6e1603394e948557
parent16a9dc1e499a9695fa33f4922046fc7bc4dff07a
tgsi/exec: make inputs/outputs optional for compute shaders.

compute shaders don't need input/outputs so don't bother
allocating memory for these.

Acked-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/tgsi/tgsi_exec.c