Henri Verbeet pushed to branch master at wine / vkd3d
Commits: eb71a172 by Elizabeth Figura at 2024-08-28T12:08:37+02:00 vkd3d-shader: Use an extended version of vkd3d_shader_immediate_constant in vkd3d_shader_parameter1.
This is a proposed API change in 946, which won't make it into this release.
The intent is to allow slightly larger constants to be specified in the updated vkd3d_shader_parameter1 structure. In particular, this is large enough to pass 4-dimensional integer or float vectors inline, which the proposed clip plane implementation will use, as well as other Direct3D FFP parameters.
We could also simply add vkd3d_shader_immediate_constant1 as a separate union member in vkd3d_shader_parameter1, but this API is a bit cleaner and simpler.
- - - - -
2 changed files:
- include/vkd3d_shader.h - libs/vkd3d-shader/ir.c
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/commit/eb71a1722a95894c0546a597b70469...