diff options
author | Zack Rusin <zackr@vmware.com> | 2009-10-24 01:29:27 -0400 |
---|---|---|
committer | Zack Rusin <zackr@vmware.com> | 2009-10-26 08:15:48 -0400 |
commit | 0b069d648b787636cc57149f47a06fb16f7629ab (patch) | |
tree | cae8b875136b7a39b4fbbc908e1db88e16217169 /src/gallium/state_trackers/xorg/xorg_exa_tgsi.c | |
parent | a9f8baf00b264a9b370ecb611334af3063674ce5 (diff) |
st/xorg: stop overflowing yuv buffers
Diffstat (limited to 'src/gallium/state_trackers/xorg/xorg_exa_tgsi.c')
-rw-r--r-- | src/gallium/state_trackers/xorg/xorg_exa_tgsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_exa_tgsi.c b/src/gallium/state_trackers/xorg/xorg_exa_tgsi.c index 7cb11dc42b..30fcff8a49 100644 --- a/src/gallium/state_trackers/xorg/xorg_exa_tgsi.c +++ b/src/gallium/state_trackers/xorg/xorg_exa_tgsi.c @@ -247,7 +247,7 @@ create_vs(struct pipe_context *pipe, const1 = ureg_DECL_constant(ureg, 1); /* it has to be either a fill or a composite op */ - debug_assert(is_fill ^ is_composite); + debug_assert((is_fill ^ is_composite) ^ is_yuv); src = ureg_DECL_vs_input(ureg, input_slot++); dst = ureg_DECL_output(ureg, TGSI_SEMANTIC_POSITION, 0); |