diff options
author | Dave Airlie <airlied@redhat.com> | 2010-09-10 22:41:00 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-09-10 22:41:00 +1000 |
commit | fcae8ca57512f84c51b7445456aab7ec92a21254 (patch) | |
tree | 238b9b1af10697b14c721f65c6e756969954a277 /src/gallium/winsys/r600/drm/r600_state.c | |
parent | f61b241ebabf2d8db9b96f7860afe79bec980df7 (diff) |
r600g: fixup state calculations for picking states.
for evergreen I ended up using a non-contig array of states, but
this code needs a bit of fixing up to deal with that.
Diffstat (limited to 'src/gallium/winsys/r600/drm/r600_state.c')
-rw-r--r-- | src/gallium/winsys/r600/drm/r600_state.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/winsys/r600/drm/r600_state.c b/src/gallium/winsys/r600/drm/r600_state.c index 4a0111b6c5..b8ef89dfd6 100644 --- a/src/gallium/winsys/r600/drm/r600_state.c +++ b/src/gallium/winsys/r600/drm/r600_state.c @@ -632,6 +632,7 @@ static void build_types_array(struct radeon *radeon, struct radeon_stype_info *t } } } + radeon->max_states = id; radeon->stype = types; radeon->nstype = size; } |