Henri Verbeet pushed to branch master at wine / vkd3d
Commits: a0a55587 by Francisco Casas at 2024-12-10T14:02:00+01:00 tests: Add additional sampler allocation tests for SM1.
- - - - - 58d31871 by Francisco Casas at 2024-12-10T15:51:34+01:00 tests: Test sampler array allocation.
- - - - - 3a6bf3be by Francisco Casas at 2024-12-10T15:51:43+01:00 vkd3d-shader/hlsl: Lower separated samplers for SM1.
The combined sampler is created as a SAMPLER instead of a TEXTURE because that fits all our current infrastructure. The only problem is that in the CTAB it must appear as a Texture, so the new field hlsl_type.is_combined_sampler is added.
Co-authored-by: Elizabeth Figura zfigura@codeweavers.com
- - - - - 455846a3 by Francisco Casas at 2024-12-10T15:51:43+01:00 vkd3d-shader/hlsl: Support combined samplers from texture arrays.
- - - - - 2c9269ac by Francisco Casas at 2024-12-10T15:52:50+01:00 vkd3d-shader/hlsl: Allocate samplers by decreasing bind count in SM1.
- - - - - aa3a7162 by Francisco Casas at 2024-12-10T15:52:52+01:00 vkd3d-shader/hlsl: Allow lowering separate sampler arrays on deref offset 0.
- - - - -
9 changed files:
- libs/vkd3d-shader/d3dbc.c - libs/vkd3d-shader/fx.c - libs/vkd3d-shader/hlsl.h - libs/vkd3d-shader/hlsl_codegen.c - tests/hlsl/combined-samplers.shader_test - tests/hlsl/conditional.shader_test - tests/hlsl/sample-bias.shader_test - tests/hlsl/sampler.shader_test - tests/hlsl/static-initializer.shader_test
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/c1df64b3a6cacbcd93dc53659edd2...