Francisco Casas
43ff28b00b
vkd3d-shader/hlsl: Emit fixmes on non-constant vector addressing.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56162
Storing to a vector component using a non-constant index is not allowed
on profiles lower than 6.0. Unless this happens inside a loop that can be
unrolled, which we are not doing yet.
For this reason, a validate_nonconstant_vector_store_derefs pass is
added to detect these cases.
Ideally we would want to emit an hlsl_error on this pass, but before
implementing loop unrolling, we could reach this point on valid HLSL.
Also, as pointed out by Nikolay in the mentioned bug, currently
new_offset_from_path_index() fails an assertion when this happens,
because it expects an hlsl_ir_constant, so a check is added.
It also felt correct to emit an hlsl_fixme there, despite the
redundancy.
2024-01-15 19:57:12 +01:00
..
2023-10-11 22:21:14 +02:00
2023-11-10 20:23:50 +01:00
2023-11-20 22:07:19 +01:00
2023-11-10 20:23:50 +01:00
2023-12-12 22:50:51 +01:00
2023-10-11 22:21:14 +02:00
2024-01-02 23:03:05 +01:00
2023-10-11 22:21:14 +02:00
2023-10-11 22:21:14 +02:00
2023-10-11 22:21:14 +02:00
2023-10-11 22:21:14 +02:00
2023-10-11 22:21:14 +02:00
2023-11-09 21:14:42 +01:00
2023-11-09 21:14:42 +01:00
2023-10-11 22:21:14 +02:00
2024-01-02 23:03:07 +01:00
2023-11-10 20:23:50 +01:00
2023-10-11 22:21:14 +02:00
2024-01-02 23:03:07 +01:00
2023-06-28 21:40:32 +02:00
2023-10-11 22:21:14 +02:00
2023-10-11 22:21:14 +02:00
2023-11-10 20:23:50 +01:00
2023-11-10 20:23:50 +01:00
2023-11-10 20:23:50 +01:00
2023-11-10 20:23:50 +01:00
2023-11-06 23:09:03 +01:00
2023-12-07 21:56:53 +01:00
2023-10-11 22:21:14 +02:00
2023-10-11 22:21:14 +02:00
2023-10-18 20:58:17 +02:00
2023-06-28 21:40:32 +02:00
2023-10-11 22:21:14 +02:00
2023-11-15 21:48:35 +01:00
2023-11-06 23:09:03 +01:00
2023-11-06 23:09:03 +01:00
2023-11-09 21:14:42 +01:00
2023-12-07 21:56:53 +01:00
2023-10-11 22:21:14 +02:00
2023-12-07 21:56:53 +01:00
2023-11-06 23:09:03 +01:00
2023-10-11 22:21:14 +02:00
2023-12-14 23:19:30 +01:00
2023-12-07 21:56:53 +01:00
2023-12-11 23:18:51 +01:00
2023-11-15 21:48:35 +01:00
2023-12-07 21:56:53 +01:00
2023-10-11 22:21:14 +02:00
2023-12-14 23:19:30 +01:00
2023-12-07 21:56:53 +01:00
2023-11-09 21:14:42 +01:00
2023-11-22 22:08:05 +01:00
2023-11-07 22:25:49 +01:00
2023-10-11 22:21:14 +02:00
2023-10-11 22:21:14 +02:00
2023-10-11 22:21:14 +02:00
2023-10-11 22:21:14 +02:00
2023-10-11 22:21:14 +02:00
2023-11-01 21:47:34 +01:00
2023-11-29 22:53:24 +01:00
2023-06-28 21:40:32 +02:00
2023-10-11 22:21:14 +02:00
2023-06-28 21:40:32 +02:00
2023-06-28 21:40:32 +02:00
2023-06-28 21:40:32 +02:00
2023-07-04 22:39:24 +02:00
2023-06-28 21:40:32 +02:00
2023-11-22 22:08:05 +01:00
2023-10-11 22:21:14 +02:00
2023-06-28 21:40:32 +02:00
2023-06-28 21:40:32 +02:00
2023-10-11 22:21:14 +02:00
2023-10-11 22:21:14 +02:00
2023-10-11 22:21:14 +02:00
2023-12-07 21:56:53 +01:00
2023-12-07 21:56:53 +01:00
2023-11-09 21:14:42 +01:00
2023-12-07 21:56:53 +01:00
2023-10-11 22:21:14 +02:00
2023-12-07 21:56:53 +01:00
2023-06-28 21:40:32 +02:00
2023-11-06 23:09:03 +01:00
2023-11-01 21:47:34 +01:00
2023-11-01 21:47:34 +01:00
2023-10-11 22:21:14 +02:00
2023-11-06 23:09:03 +01:00
2023-12-07 21:56:44 +01:00
2023-10-18 20:58:18 +02:00
2023-10-11 22:21:14 +02:00
2023-06-28 21:40:32 +02:00
2023-10-31 21:59:29 +01:00
2023-06-28 21:40:32 +02:00
2023-11-01 21:47:34 +01:00
2023-10-11 22:21:14 +02:00
2023-12-11 23:18:54 +01:00
2023-12-07 21:56:53 +01:00
2023-06-28 21:40:32 +02:00
2023-10-11 22:21:14 +02:00
2023-10-11 22:21:14 +02:00
2023-11-02 18:23:12 +01:00
2023-10-11 22:21:14 +02:00
2023-11-06 23:09:03 +01:00
2023-12-07 21:56:53 +01:00
2023-11-06 23:09:03 +01:00
2023-10-11 22:21:14 +02:00
2023-10-11 22:21:14 +02:00
2023-11-15 21:48:35 +01:00
2023-12-07 21:56:53 +01:00
2023-12-14 23:19:30 +01:00
2023-10-11 22:21:14 +02:00
2023-11-08 22:49:26 +01:00
2023-10-11 22:21:14 +02:00
2023-10-11 22:21:14 +02:00
2023-10-11 22:21:14 +02:00
2023-11-09 21:14:42 +01:00
2023-06-28 21:40:32 +02:00
2023-10-11 22:21:14 +02:00
2023-11-10 20:23:50 +01:00
2023-06-28 21:40:32 +02:00
2023-10-11 22:21:14 +02:00
2023-12-07 21:56:53 +01:00
2023-10-11 22:21:14 +02:00
2023-10-11 22:21:14 +02:00
2023-11-15 21:48:35 +01:00
2023-11-01 21:47:34 +01:00
2023-11-01 21:47:34 +01:00
2023-06-28 21:40:32 +02:00
2023-12-14 23:19:30 +01:00
2023-11-15 21:48:35 +01:00
2023-10-11 22:21:14 +02:00
2023-11-01 21:47:34 +01:00
2023-11-01 21:47:34 +01:00
2024-01-11 23:04:48 +01:00
2024-01-11 23:04:48 +01:00
2024-01-11 23:04:46 +01:00
2023-11-15 21:48:35 +01:00
2023-10-11 22:21:14 +02:00
2023-10-11 22:21:14 +02:00
2023-12-13 22:32:38 +01:00
2023-10-11 22:21:14 +02:00
2023-06-28 21:40:32 +02:00
2023-12-14 23:19:30 +01:00
2023-12-07 21:56:53 +01:00
2023-10-11 22:21:14 +02:00
2023-10-11 22:21:14 +02:00
2023-10-11 22:21:14 +02:00
2023-10-11 22:21:14 +02:00
2023-10-11 22:21:14 +02:00
2023-10-19 23:07:31 +02:00
2023-10-11 22:21:14 +02:00
2023-11-01 21:47:34 +01:00
2023-12-07 21:56:44 +01:00
2024-01-15 19:57:12 +01:00
2023-11-06 23:09:03 +01:00
2023-11-06 23:09:03 +01:00
2023-06-28 21:40:32 +02:00
2023-06-28 21:40:32 +02:00