diff options
author | Ilia Mirkin <[email protected]> | 2015-04-04 02:53:52 -0400 |
---|---|---|
committer | Rob Clark <[email protected]> | 2015-04-05 16:36:35 -0400 |
commit | b060b56772cdb349478757382de036a20a2402ba (patch) | |
tree | 4198b12da56eca39524a932dfcbea9949612a08f /src/gallium/drivers/freedreno/a3xx/fd3_emit.h | |
parent | 1de72dfc8a2014069edd1b3d3d46dad478d0680a (diff) |
freedreno/a3xx: pass sprite coord mode through to program emit
Use the correct sprite replacement depending on the flip of the coord
mode, using either T or 1-T depending on whether we have an upper-left or
lower-left coordinate origin. This fixes all the point sprite piglits.
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/a3xx/fd3_emit.h')
-rw-r--r-- | src/gallium/drivers/freedreno/a3xx/fd3_emit.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/a3xx/fd3_emit.h b/src/gallium/drivers/freedreno/a3xx/fd3_emit.h index a438ddaee85..8f21919c9a7 100644 --- a/src/gallium/drivers/freedreno/a3xx/fd3_emit.h +++ b/src/gallium/drivers/freedreno/a3xx/fd3_emit.h @@ -56,6 +56,7 @@ struct fd3_emit { uint32_t dirty; uint32_t sprite_coord_enable; + bool sprite_coord_mode; bool rasterflat; /* cached to avoid repeated lookups of same variants: */ |