diff options
author | Marek Olšák <[email protected]> | 2012-12-03 03:21:04 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-12-07 14:19:28 +0100 |
commit | 985649b5963f2ad4bfe00abf573b1a53b28ed453 (patch) | |
tree | 03f8e180001e7380db17866aa71049e0a7612179 /src/gallium/state_trackers/dri/sw | |
parent | 39737e17e7a61535a35669756161005a7a5c887b (diff) |
st/dri: refactor dri_fill_in_modes
- We can use a single loop for adding new configs.
- The useless parameter depth_bits is removed.
- The maximum number of samples is bumped to 32.
- We can support Z16_UNORM and Z32_UNORM unconditionally since the zbuffers
are private.
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/dri/sw')
-rw-r--r-- | src/gallium/state_trackers/dri/sw/drisw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/dri/sw/drisw.c b/src/gallium/state_trackers/dri/sw/drisw.c index 5247126527d..533f908bce2 100644 --- a/src/gallium/state_trackers/dri/sw/drisw.c +++ b/src/gallium/state_trackers/dri/sw/drisw.c @@ -311,7 +311,7 @@ drisw_init_screen(__DRIscreen * sPriv) pscreen = drisw_create_screen(&drisw_lf); /* dri_init_screen_helper checks pscreen for us */ - configs = dri_init_screen_helper(screen, pscreen, 32); + configs = dri_init_screen_helper(screen, pscreen); if (!configs) goto fail; |