summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/xorg/xorg_exa_tgsi.c
diff options
context:
space:
mode:
authorZack Rusin <zackr@vmware.com>2009-09-09 05:34:56 -0400
committerZack Rusin <zackr@vmware.com>2009-09-10 17:21:06 -0400
commit3167c2e8a0a248c290ae8bfff23c88db8f39cd11 (patch)
tree14cca8584f40c671b389f67eefa09d0424d84631 /src/gallium/state_trackers/xorg/xorg_exa_tgsi.c
parent18882f4d30afcc849dca33ff93dbcd5ca45664b8 (diff)
st/xorg: start adding support for surface fills
Diffstat (limited to 'src/gallium/state_trackers/xorg/xorg_exa_tgsi.c')
-rw-r--r--src/gallium/state_trackers/xorg/xorg_exa_tgsi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_exa_tgsi.c b/src/gallium/state_trackers/xorg/xorg_exa_tgsi.c
index cfee10c3b3..14d5605f39 100644
--- a/src/gallium/state_trackers/xorg/xorg_exa_tgsi.c
+++ b/src/gallium/state_trackers/xorg/xorg_exa_tgsi.c
@@ -318,8 +318,8 @@ create_fs(struct pipe_context *pipe,
TGSI_SEMANTIC_POSITION,
0,
TGSI_INTERPOLATE_PERSPECTIVE);
- }
- if (is_fill) {
+ } else {
+ debug_assert(is_fill);
if (is_solid)
src_input = ureg_DECL_fs_input(ureg,
TGSI_SEMANTIC_COLOR,