Henri Verbeet pushed to branch master at wine / vkd3d
Commits: 36013977 by Francisco Casas at 2024-10-16T16:52:45+02:00 vkd3d-shader/d3dbc: Remove the "hlsl_" prefix from external functions.
They no longer rely on HLSL IR.
Also, rename them from "_from_semantic" to "from_semantic_name".
- - - - - 5b21cc67 by Francisco Casas at 2024-10-16T17:08:50+02:00 vkd3d-shader/hlsl: Split hlsl_sm4_write().
Similarly to the already done split from
HLSL IR -> d3dbc
to
HLSL IR -> vsir -> d3bc
we now start splitting the
HLSL IR -> tpf
translation into
HLSL IR -> vsir -> tpf
So hlsl_sm4_write is split into two functions, sm4_generate_vsir() and tpf_compile().
This translation should be completed once tpf_compile() no longer needs the hlsl_ctx and entry_func parameters.
- - - - - 16d9a10d by Francisco Casas at 2024-10-16T17:09:15+02:00 vkd3d-shader/tpf: Rename "tpf_writer" to "tpf_compiler".
Analog to d3dbc_compiler.
- - - - - 10442369 by Francisco Casas at 2024-10-16T17:26:47+02:00 vkd3d-shader/tpf: Pass a tpf_compiler structure to tpf_compile() callees.
- - - - - c75fbaf9 by Francisco Casas at 2024-10-16T17:40:26+02:00 vkd3d-shader/tpf: Use the I/O signatures from the vsir program in tpf_write_signature().
- - - - - 7cc8151b by Francisco Casas at 2024-10-16T18:50:15+02:00 vkd3d-shader/tpf: Replace uses of ctx->profile with tpf->program->shader_version.
- - - - - a243862b by Francisco Casas at 2024-10-16T21:05:10+02:00 vkd3d-shader/tpf: Make sysval_semantic_from_hlsl() independent of HLSL IR.
- - - - - 7eee877d by Francisco Casas at 2024-10-16T21:07:51+02:00 vkd3d-shader/tpf: Make hlsl_sm4_register_from_semantic() independent of HLSL IR.
- - - - -
5 changed files:
- libs/vkd3d-shader/d3dbc.c - libs/vkd3d-shader/hlsl.h - libs/vkd3d-shader/hlsl_codegen.c - libs/vkd3d-shader/tpf.c - libs/vkd3d-shader/vkd3d_shader_private.h
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/0ab5e1cb03293f12cc9e650ca75b9...