Caio Oliveira
81bc09bf97
intel/fs: Tweak default case of fs_inst::size_read()
...
In the default case, there's a special case with a few conditions.
Prefer the cheapest conditions first, so we can take advantage of
short-circuiting.
Effect is a small but still significant reduce in shader compilation
times, as can be seen by:
- Fossil replay for Rise of the Tomb Raider
```
Difference at 95.0% confidence
-0.433333 +/- 0.028609
-1.42556% +/- 0.0941163%
(Student's t, pooled s = 0.0337886)
```
- Fossil replay for Batman Arkham City
```
Difference at 95.0% confidence
-8.84 +/- 0.146083
-1.65932% +/- 0.0274207%
(Student's t, pooled s = 0.125423)
```
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org >
Reviewed-by: Emma Anholt <emma@anholt.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25549 >
2023-10-06 09:16:56 +00:00
..
2023-08-03 22:00:15 +00:00
2023-08-03 22:00:15 +00:00
2023-08-03 22:00:15 +00:00
2023-08-03 22:00:15 +00:00
2023-08-03 22:00:15 +00:00
2023-06-03 03:29:03 +00:00
2022-06-30 23:46:35 +00:00
2022-06-30 23:46:35 +00:00
2023-08-22 12:08:37 +00:00
2023-09-12 02:51:31 +00:00
2022-12-09 10:18:25 +00:00
2022-07-28 21:31:45 +00:00
2022-07-28 21:31:45 +00:00
2023-09-27 23:57:25 +00:00
2022-10-28 07:10:58 +00:00
2023-09-27 23:57:25 +00:00
2023-09-27 23:57:25 +00:00
2023-10-05 01:41:42 +00:00
2022-12-10 03:59:19 +00:00
2023-09-27 23:57:25 +00:00
2022-06-30 23:46:35 +00:00
2023-09-20 17:19:36 -07:00
2023-01-24 07:35:42 +00:00
2023-08-29 19:01:37 +00:00
2023-09-14 22:31:23 +00:00
2023-01-19 08:42:22 +00:00
2023-09-20 17:19:36 -07:00
2023-09-14 22:31:22 +00:00
2023-03-09 23:26:17 +00:00
2023-09-20 17:19:36 -07:00
2023-09-29 10:46:47 +00:00
2023-09-27 23:57:25 +00:00
2023-09-20 17:19:36 -07:00
2022-12-09 00:39:05 +00:00
2023-03-09 23:26:17 +00:00
2023-09-27 23:57:25 +00:00
2023-09-27 23:57:25 +00:00
2023-09-27 23:57:25 +00:00
2023-10-06 09:16:56 +00:00
2023-09-20 17:19:36 -07:00
2022-06-30 23:46:35 +00:00
2023-05-30 06:36:37 +00:00
2023-08-03 22:00:15 +00:00
2023-07-27 02:02:30 +03:00
2023-09-20 17:19:36 -07:00
2022-06-27 10:20:55 +00:00
2023-09-20 17:19:36 -07:00
2022-06-30 23:46:35 +00:00
2023-09-12 01:57:50 +00:00
2023-09-27 23:57:25 +00:00
2023-09-27 23:57:25 +00:00
2023-08-03 22:40:29 +00:00
2023-08-14 21:22:53 +00:00
2023-08-14 21:22:53 +00:00
2023-08-15 17:44:27 +00:00
2023-08-14 21:22:53 +00:00
2023-08-24 15:48:02 +00:00
2023-08-29 23:19:12 +00:00
2023-08-14 21:22:53 +00:00
2023-08-30 07:04:33 +00:00
2023-09-18 10:25:17 -04:00
2023-08-29 23:19:13 +00:00
2023-08-24 15:48:02 +00:00
2023-09-18 10:25:17 -04:00
2023-08-30 19:30:58 +00:00
2023-08-30 19:30:58 +00:00
2023-08-24 15:48:02 +00:00
2023-08-14 21:22:53 +00:00
2023-08-18 01:00:15 +00:00
2023-09-08 03:01:39 +00:00
2023-09-08 03:01:39 +00:00
2023-08-12 16:44:41 -04:00
2023-08-30 19:30:58 +00:00
2022-10-20 00:03:55 +00:00
2023-08-12 16:44:41 -04:00
2023-09-20 14:41:18 +00:00
2023-08-29 23:19:13 +00:00
2022-06-30 23:46:35 +00:00
2023-09-22 16:23:02 +00:00
2023-08-03 22:00:15 +00:00
2023-02-26 11:48:33 -08:00
2023-09-20 17:19:36 -07:00
2023-09-28 07:35:02 +00:00
2023-09-26 18:12:53 -07:00
2023-09-22 16:23:02 +00:00
2022-11-17 23:17:40 +00:00
2022-06-30 23:46:35 +00:00
2022-07-08 19:45:34 +00:00
2023-07-20 09:08:08 +00:00
2023-08-14 21:22:53 +00:00
2023-09-20 17:19:36 -07:00
2023-07-20 09:08:08 +00:00
2023-08-15 17:44:27 +00:00
2023-09-20 17:19:36 -07:00
2023-09-20 17:19:36 -07:00
2023-09-20 17:19:36 -07:00
2023-08-14 21:22:53 +00:00
2023-07-20 09:08:08 +00:00
2023-09-28 07:35:02 +00:00
2023-07-20 09:08:08 +00:00
2023-07-20 09:08:08 +00:00
2023-09-26 18:12:53 -07:00
2023-08-14 21:22:53 +00:00
2022-08-31 02:00:18 +00:00
2022-07-08 19:45:34 +00:00
2023-07-20 09:08:08 +00:00
2023-07-07 12:27:35 +00:00
2023-09-01 21:36:02 +00:00
2022-08-23 15:19:16 +00:00
2023-10-05 01:41:42 +00:00
2023-08-03 22:00:15 +00:00
2023-08-03 22:00:15 +00:00
2023-08-03 22:00:15 +00:00
2023-08-03 22:00:15 +00:00
2023-09-22 16:23:02 +00:00
2023-08-03 22:00:15 +00:00
2023-08-03 22:00:15 +00:00
2023-08-03 22:00:15 +00:00
2023-08-03 22:00:15 +00:00