glslang/Test/baseResults
Nathan Reed fc9897d1ba
Fix OpImageRead result type when compiling HLSL (#2706)
Fix OpImageRead result type when compiling HLSL

- Per the Vulkan spec, OpImageRead must return a 4-component vector always. When compiling HLSL, loads from a RWTexture of a template type with < 4 components would incorrectly generate an OpImageRead with a < 4 component result, resulting in validation errors.
- This was previously fixed for OpImageFetch in commit 4425f24; this commit does the same thing for OpImageRead.
- Added associated tests and expanded existing image fetch tests to check all the different types of textures, in both float and int incarnations, for completeness.
- Update other HLSL tests involving OpImageRead
2021-07-28 09:29:17 -06:00
..
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2020-01-06 15:53:20 +08:00
2018-08-07 03:16:20 +09:00
2018-08-07 03:16:20 +09:00
2019-12-25 17:08:48 +08:00
2019-12-23 11:29:52 +08:00
2018-08-07 03:16:20 +09:00