diff options
author | Marek Olšák <[email protected]> | 2018-05-23 22:25:12 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-07-31 18:28:41 -0400 |
commit | 8632626c81a09315276d7defa63092247d7fd308 (patch) | |
tree | ed5377da2e0d5e3061b333e49651988124c226d8 /src/gallium/tests/graw/graw_util.h | |
parent | 0caf74bbcdf38914cecffa8772ee9b122b249b78 (diff) |
gallium: add pipe_resource::nr_storage_samples, and set it same as nr_samples
Tested-by: Dieter Nützel <[email protected]>
Diffstat (limited to 'src/gallium/tests/graw/graw_util.h')
-rw-r--r-- | src/gallium/tests/graw/graw_util.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/tests/graw/graw_util.h b/src/gallium/tests/graw/graw_util.h index 36064e18a25..c919ec77198 100644 --- a/src/gallium/tests/graw/graw_util.h +++ b/src/gallium/tests/graw/graw_util.h @@ -77,7 +77,6 @@ graw_util_create_window(struct graw_info *info, resource_temp.depth0 = 1; resource_temp.array_size = 1; resource_temp.last_level = 0; - resource_temp.nr_samples = 1; resource_temp.bind = (PIPE_BIND_RENDER_TARGET | PIPE_BIND_DISPLAY_TARGET); info->color_buf[i] = info->screen->resource_create(info->screen, @@ -109,7 +108,6 @@ graw_util_create_window(struct graw_info *info, resource_temp.depth0 = 1; resource_temp.array_size = 1; resource_temp.last_level = 0; - resource_temp.nr_samples = 1; resource_temp.bind = PIPE_BIND_DEPTH_STENCIL; info->zs_buf = info->screen->resource_create(info->screen, &resource_temp); if (!info->zs_buf) { @@ -233,7 +231,6 @@ graw_util_create_tex2d(const struct graw_info *info, temp.depth0 = 1; temp.last_level = 0; temp.array_size = 1; - temp.nr_samples = 1; temp.bind = PIPE_BIND_SAMPLER_VIEW; tex = info->screen->resource_create(info->screen, &temp); |