Henri Verbeet pushed to branch master at wine / vkd3d Commits: 013e354b by Shaun Ren at 2024-10-16T21:07:53+02:00 tests: Test struct single inheritance. - - - - - 069b8aac by Shaun Ren at 2024-10-16T21:07:53+02:00 vkd3d-shader/hlsl: Implement struct single inheritance. Here, we implement single inheritance by inserting a field at the beginning of the derived struct with name "$super". For the following struct declarations struct a { float4 aa; float4 bb; }; struct b : a { float4 cc; }; struct c : b { float4 bb; }; this commit generates the following: struct a { float4 aa; float4 bb; }; struct b { struct a $super; float4 cc; }; struct c { struct b $super; float4 bb; }; - - - - - 3 changed files: - Makefile.am - libs/vkd3d-shader/hlsl.y - + tests/hlsl/struct-inheritance.shader_test View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/7eee877dd40b8e76250df9c4aaf00... -- View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/7eee877dd40b8e76250df9c4aaf00... You're receiving this email because of your account on gitlab.winehq.org.