Anees Iqbal
3c42dff011
Test that a tiled texture's later levels copy nothing, its merges fetch, and a detach keeps it
...
Four device tests in tiled_texture_device.rs, for the three tiled-mips follow-ups
(Buffer::new_tiled_texture):
- uses_of_the_later_levels_alone_copy_nothing_of_the_first: a blit into level 1
takes no shadow copy, and generate_mipmaps copies level 0 in and nothing back,
keeps nothing and merges nothing.
- a_render_pass_into_a_later_level_copies_nothing_of_the_first: a pass into level 1
takes no shadow copy.
- a_merge_of_the_first_level_fetches_through_its_view: a blit into part of level 0
over a Shared buffer merges back through a view (shadow_merges_fetched 1), the
bytes outside the part kept.
- detached_bytes_leave_the_first_level_s_last_texels_and_the_later_levels: over a
no-copy buffer, detached, the texture keeps its VkImage, get_bytes of level 0
reads the CPU's last write (made after the last copy in), the later levels read
and take writes, a level-0 write is refused; a rebind gives level 0 the new
pages and keeps the later levels.
Each prints its counts before asserting. They fail on this commit alone, where
the fixes that follow are absent: the negative control.
(cherry picked from commit e873588a623425c2cc8137296b4b5ec3dcd87432)
2026-11-08 02:57:26 -08:00
..
2026-10-16 11:12:03 +03:00
2026-10-11 20:09:13 +03:00
2026-10-26 13:19:05 +02:00
2026-10-11 20:09:13 +03:00
2026-11-01 21:26:20 -08:00
2026-10-11 20:09:13 +03:00
2026-10-19 00:16:00 +03:00
2026-11-05 18:59:21 -08:00
2026-11-07 10:05:49 -08:00
2026-10-19 00:15:59 +03:00
2026-10-26 13:19:12 +02:00
2026-11-07 05:45:52 -08:00
2026-10-28 17:24:22 +02:00
2026-11-07 08:02:57 -08:00
2026-10-11 20:09:13 +03:00
2026-10-19 00:16:00 +03:00
2026-10-26 13:19:03 +02:00
2026-11-07 10:04:13 -08:00
2026-11-07 12:33:52 -08:00
2026-10-26 13:19:03 +02:00
2026-11-07 15:23:33 -08:00
2026-10-11 20:09:13 +03:00
2026-11-07 14:23:17 -08:00
2026-11-07 14:23:18 -08:00
2026-11-07 19:26:46 -08:00
2026-10-28 17:24:20 +02:00
2026-10-28 17:24:19 +02:00
2026-11-07 19:39:23 -08:00
2026-11-07 06:47:43 -08:00
2026-11-05 17:12:27 -08:00
2026-11-05 18:59:00 -08:00
2026-11-07 18:38:26 -08:00
2026-10-16 11:12:03 +03:00
2026-11-02 22:30:22 -08:00
2026-10-19 00:16:00 +03:00
2026-10-26 13:19:18 +02:00
2026-11-05 15:26:46 -08:00
2026-11-07 16:37:46 -08:00
2026-11-07 22:13:59 -08:00
2026-11-05 13:14:46 -08:00
2026-11-07 16:37:46 -08:00
2026-11-04 21:54:19 -08:00
2026-11-07 16:37:46 -08:00
2026-11-07 13:07:59 -08:00
2026-10-26 13:19:05 +02:00
2026-10-28 17:24:20 +02:00
2026-11-01 21:26:16 -08:00
2026-11-04 18:50:29 -08:00
2026-10-26 13:19:21 +02:00
2026-11-07 04:26:25 -08:00
2026-10-26 13:19:22 +02:00
2026-11-07 09:05:59 -08:00
2026-10-28 17:24:20 +02:00
2026-10-26 13:19:19 +02:00
2026-11-05 07:39:33 -08:00
2026-10-19 00:16:00 +03:00
2026-10-19 00:15:59 +03:00
2026-10-11 20:09:13 +03:00
2026-10-26 13:19:14 +02:00
2026-11-07 14:39:30 -08:00
2026-10-11 20:09:13 +03:00
2026-10-28 21:19:28 +02:00
2026-11-07 14:02:59 -08:00
2026-11-07 18:38:26 -08:00
2026-11-05 02:08:31 -08:00
2026-11-08 00:58:20 -08:00
2026-10-26 13:19:16 +02:00
2026-11-05 18:59:21 -08:00
2026-10-26 13:19:14 +02:00
2026-11-07 16:37:45 -08:00
2026-11-07 13:24:33 -08:00
2026-11-05 13:14:45 -08:00
2026-11-05 18:59:20 -08:00
2026-11-05 18:59:20 -08:00
2026-10-28 23:15:01 +02:00
2026-11-07 19:39:24 -08:00
2026-11-02 23:03:18 -08:00
2026-11-07 16:59:34 -08:00
2026-10-28 17:24:22 +02:00
2026-11-07 16:34:02 -08:00
2026-10-26 13:19:05 +02:00
2026-11-04 18:50:27 -08:00
2026-11-07 19:14:46 -08:00
2026-11-03 15:58:55 -08:00
2026-10-26 13:19:17 +02:00
2026-10-26 13:19:05 +02:00
2026-11-03 11:08:02 -08:00
2026-11-03 15:58:55 -08:00
2026-10-28 17:24:21 +02:00
2026-11-08 01:29:28 -08:00
2026-11-07 15:30:55 -08:00
2026-11-07 16:55:27 -08:00
2026-11-05 21:13:13 -08:00
2026-10-16 11:12:03 +03:00
2026-11-05 05:10:38 -08:00
2026-11-07 13:48:35 -08:00
2026-10-28 17:24:22 +02:00
2026-11-05 02:08:24 -08:00
2026-10-28 17:24:20 +02:00
2026-10-28 22:57:47 +02:00
2026-11-07 22:13:59 -08:00
2026-10-16 18:45:39 +03:00
2026-10-19 00:16:00 +03:00
2026-10-26 13:19:21 +02:00
2026-10-26 13:19:16 +02:00
2026-10-29 15:43:56 +02:00
2026-10-26 13:19:03 +02:00
2026-11-05 11:25:47 -08:00
2026-11-05 17:12:26 -08:00
2026-10-26 13:19:05 +02:00
2026-11-02 02:17:10 -08:00
2026-11-07 15:23:32 -08:00
2026-10-26 13:19:03 +02:00
2026-11-07 21:32:49 -08:00
2026-11-07 22:56:56 -08:00
2026-11-07 22:56:56 -08:00
2026-10-26 13:19:06 +02:00
2026-11-02 02:17:10 -08:00
2026-11-05 05:10:38 -08:00
2026-10-28 17:24:20 +02:00
2026-11-07 15:23:32 -08:00
2026-10-19 00:15:59 +03:00
2026-10-26 13:19:21 +02:00
2026-11-07 10:05:49 -08:00
2026-10-26 13:19:06 +02:00
2026-11-02 05:16:44 -08:00
2026-11-03 03:36:41 -08:00
2026-10-29 15:43:55 +02:00
2026-11-05 00:43:50 -08:00
2026-11-07 16:05:32 -08:00
2026-11-07 16:59:34 -08:00
2026-11-07 16:59:34 -08:00
2026-11-07 18:26:19 -08:00
2026-11-07 05:45:52 -08:00
2026-11-03 11:08:02 -08:00
2026-10-26 13:19:16 +02:00
2026-10-26 13:19:06 +02:00
2026-10-16 11:12:03 +03:00
2026-11-03 23:41:19 -08:00
2026-11-08 01:56:14 -08:00
2026-11-08 01:47:31 -08:00
2026-11-08 01:56:14 -08:00
2026-11-03 16:19:39 -08:00
2026-11-04 18:50:27 -08:00
2026-11-07 09:37:11 -08:00
2026-10-28 23:15:01 +02:00
2026-11-07 15:16:41 -08:00
2026-11-03 11:48:36 -08:00
2026-10-11 20:09:13 +03:00
2026-11-03 03:36:42 -08:00
2026-10-11 20:09:13 +03:00
2026-10-16 11:12:03 +03:00
2026-11-05 11:25:48 -08:00
2026-11-07 18:38:26 -08:00
2026-11-07 12:42:50 -08:00
2026-11-08 01:41:30 -08:00
2026-10-16 11:12:03 +03:00
2026-11-07 19:26:47 -08:00
2026-10-14 12:15:47 +03:00
2026-11-08 01:11:45 -08:00
2026-11-07 18:12:35 -08:00
2026-11-03 04:54:40 -08:00
2026-11-05 02:08:30 -08:00
2026-10-11 20:09:13 +03:00
2026-10-11 20:09:13 +03:00
2026-10-19 00:15:59 +03:00
2026-10-26 13:19:21 +02:00
2026-10-16 11:12:03 +03:00
2026-11-07 19:14:46 -08:00
2026-11-07 22:13:59 -08:00
2026-10-26 13:19:14 +02:00
2026-11-07 19:26:46 -08:00
2026-11-03 02:03:18 -08:00
2026-10-11 20:09:13 +03:00
2026-10-26 13:19:15 +02:00
2026-11-08 01:47:31 -08:00
2026-11-02 01:32:20 -08:00
2026-10-28 17:24:22 +02:00
2026-11-07 15:51:21 -08:00
2026-11-05 02:08:29 -08:00
2026-11-08 01:47:32 -08:00
2026-11-07 06:59:35 -08:00
2026-11-03 09:25:28 -08:00
2026-11-07 19:39:24 -08:00
2026-10-19 00:16:00 +03:00
2026-11-07 09:53:31 -08:00
2026-11-07 11:43:21 -08:00
2026-11-07 12:12:33 -08:00
2026-10-26 13:19:05 +02:00
2026-10-26 13:19:12 +02:00
2026-11-02 22:30:22 -08:00
2026-10-26 13:19:15 +02:00
2026-10-29 15:43:51 +02:00
2026-11-08 01:11:45 -08:00
2026-11-02 08:50:24 -08:00
2026-11-07 20:29:28 -08:00
2026-10-26 13:19:21 +02:00
2026-10-29 15:43:49 +02:00
2026-11-03 07:56:21 -08:00
2026-11-02 02:17:10 -08:00
2026-11-07 04:26:25 -08:00
2026-11-07 05:45:52 -08:00
2026-10-26 13:19:15 +02:00
2026-10-26 13:19:21 +02:00
2026-11-04 18:50:29 -08:00
2026-11-07 19:26:46 -08:00
2026-11-03 10:11:05 -08:00
2026-11-07 12:42:50 -08:00
2026-11-08 01:16:06 -08:00
2026-11-07 20:23:45 -08:00
2026-10-26 13:19:20 +02:00
2026-10-11 20:09:13 +03:00
2026-10-11 20:09:13 +03:00
2026-10-26 13:19:17 +02:00
2026-10-16 11:12:03 +03:00
2026-10-26 13:19:21 +02:00
2026-10-26 13:19:21 +02:00
2026-11-07 05:46:45 -08:00
2026-11-07 16:34:02 -08:00
2026-11-05 18:59:19 -08:00
2026-11-07 16:46:55 -08:00
2026-11-07 09:59:28 -08:00
2026-10-26 13:19:05 +02:00
2026-10-26 13:19:22 +02:00
2026-10-26 13:19:22 +02:00
2026-10-26 13:19:21 +02:00
2026-10-28 23:18:09 +02:00
2026-10-19 00:15:59 +03:00
2026-11-07 02:58:21 -08:00
2026-11-02 15:55:42 -08:00
2026-11-03 12:36:57 -08:00
2026-11-07 18:38:26 -08:00
2026-11-05 21:13:10 -08:00
2026-10-11 20:09:13 +03:00
2026-11-03 01:40:27 -08:00
2026-10-19 00:16:00 +03:00
2026-10-26 13:19:05 +02:00
2026-10-28 17:24:22 +02:00
2026-10-26 13:19:20 +02:00
2026-10-28 17:24:22 +02:00
2026-11-03 03:36:43 -08:00
2026-11-07 18:38:26 -08:00
2026-10-11 20:09:13 +03:00
2026-10-26 13:19:20 +02:00
2026-11-07 08:17:57 -08:00
2026-11-05 18:59:00 -08:00
2026-11-07 23:05:20 -08:00
2026-11-04 18:50:30 -08:00
2026-10-28 23:18:09 +02:00
2026-10-26 13:19:20 +02:00
2026-10-26 13:19:22 +02:00
2026-10-28 23:18:09 +02:00
2026-10-26 13:19:22 +02:00
2026-10-19 00:16:00 +03:00
2026-10-26 13:19:03 +02:00
2026-11-07 12:33:52 -08:00
2026-11-07 12:33:52 -08:00
2026-10-11 20:09:13 +03:00
2026-11-07 12:33:52 -08:00
2026-11-07 21:20:05 -08:00
2026-11-03 10:11:05 -08:00
2026-10-26 13:19:05 +02:00
2026-11-07 15:23:33 -08:00
2026-11-07 23:05:20 -08:00
2026-10-11 20:09:13 +03:00
2026-10-26 13:19:03 +02:00
2026-11-07 14:00:19 -08:00
2026-11-05 05:10:57 -08:00
2026-10-26 13:19:21 +02:00
2026-11-07 02:58:20 -08:00
2026-10-11 20:09:13 +03:00
2026-10-16 11:12:03 +03:00
2026-11-07 18:26:19 -08:00
2026-11-07 15:04:05 -08:00
2026-10-28 23:05:15 +02:00
2026-10-29 15:43:52 +02:00
2026-10-19 00:16:00 +03:00
2026-11-07 14:23:18 -08:00
2026-10-19 00:16:00 +03:00
2026-11-07 12:26:06 -08:00
2026-11-07 10:07:03 -08:00
2026-10-28 17:24:20 +02:00
2026-10-28 17:24:20 +02:00
2026-11-08 01:47:32 -08:00
2026-11-08 01:47:31 -08:00
2026-10-26 13:19:13 +02:00
2026-10-28 17:24:20 +02:00
2026-10-26 13:19:21 +02:00
2026-11-07 05:46:45 -08:00
2026-11-08 02:57:26 -08:00
2026-11-05 13:14:43 -08:00
2026-10-26 13:19:19 +02:00
2026-10-16 11:12:03 +03:00
2026-11-07 21:32:49 -08:00
2026-10-26 13:19:05 +02:00
2026-11-03 04:54:40 -08:00
2026-10-26 13:19:05 +02:00
2026-11-07 05:45:52 -08:00
2026-10-28 21:19:28 +02:00
2026-10-26 13:19:13 +02:00
2026-10-28 17:24:21 +02:00
2026-11-03 15:58:55 -08:00
2026-11-02 02:17:10 -08:00
2026-11-07 05:45:52 -08:00
2026-11-07 12:12:33 -08:00
2026-11-07 06:17:10 -08:00
2026-11-02 01:32:20 -08:00
2026-11-02 12:32:04 -08:00
2026-11-04 18:50:27 -08:00
2026-11-04 18:50:27 -08:00
2026-10-29 15:43:56 +02:00
2026-10-28 21:19:27 +02:00
2026-10-26 13:19:03 +02:00
2026-11-07 23:03:55 -08:00