mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
drisw: remove dead code
this was from a very early version of kopper, but it can no longer be reached Fixes:d760a9151b("gallium: Learn about kopper") Reviewed-by: Adam Jackson <ajax@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16152> (cherry picked from commit6a9def8c9f)
This commit is contained in:
parent
07a0e16324
commit
7fb345d84a
2 changed files with 2 additions and 8 deletions
|
|
@ -427,7 +427,7 @@
|
|||
"description": "drisw: remove dead code",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "d760a9151b73d1998fceff38fb1c642e4d77bf67"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -397,13 +397,7 @@ drisw_allocate_textures(struct dri_context *stctx,
|
|||
templ.nr_samples = 0;
|
||||
templ.nr_storage_samples = 0;
|
||||
|
||||
if (bind & PIPE_BIND_DISPLAY_TARGET &&
|
||||
screen->base.screen->resource_create_drawable) {
|
||||
drawable->textures[statts[i]] =
|
||||
screen->base.screen->resource_create_drawable(screen->base.screen,
|
||||
&templ,
|
||||
drawable->dPriv);
|
||||
} else if (statts[i] == ST_ATTACHMENT_FRONT_LEFT &&
|
||||
if (statts[i] == ST_ATTACHMENT_FRONT_LEFT &&
|
||||
screen->base.screen->resource_create_front &&
|
||||
loader->base.version >= 3) {
|
||||
drawable->textures[statts[i]] =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue