OSDN Git Service

vc4: Restructure depth input/output in fragment shaders.
authorEric Anholt <eric@anholt.net>
Tue, 16 Sep 2014 18:20:52 +0000 (11:20 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 16 Sep 2014 20:03:32 +0000 (13:03 -0700)
commitaae4223fbd2d94f922339baa11ffefdb88896770
tree2ca23311d82fc63e272a1cd7c7c1fd9d98beb8b1
parenta420aa1b4183e06bbbb6d909663ccb1e4527f096
vc4: Restructure depth input/output in fragment shaders.

The goal here is to have an argument for the depth write opcode so that I
can do computed depth.  In the process, this makes the calculations that
will be emitted more obvious in the QIR.
src/gallium/drivers/vc4/vc4_program.c
src/gallium/drivers/vc4/vc4_qir.c
src/gallium/drivers/vc4/vc4_qir.h
src/gallium/drivers/vc4/vc4_qpu_emit.c