Henri Verbeet pushed to branch master at wine / vkd3d
Commits:
2c9cf7c7 by Shaun Ren at 2024-12-11T15:32:22+01:00
vkd3d-shader/hlsl: Implement normalization of binary expressions.
We normalize binary expressions by attempting to group constants
together, in order to facilitate further simplification of the
expressions.
For any binary operator OP, non-constants x, y, and constants a, b, we
apply the following rewrite rules:
a OP x -> x OP a, if OP is commutative.
(x OP a) OP b -> x OP (a OP b), if OP is associative.
(x OP a) OP y -> (x OP y) OP a, if OP is associative and commutative.
x OP (y OP a) -> (x OP y) OP a, if OP is associative.
Note that we consider floating point operations to be
non-associative.
- - - - -
4 changed files:
- libs/vkd3d-shader/hlsl.h
- libs/vkd3d-shader/hlsl_codegen.c
- libs/vkd3d-shader/hlsl_constant_ops.c
- tests/hlsl/arithmetic-uint.shader_test
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/commit/2c9cf7c78bb098559bb7d3eeb7dc7…
--
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/commit/2c9cf7c78bb098559bb7d3eeb7dc7…
You're receiving this email because of your account on gitlab.winehq.org.
Alexandre Julliard pushed to branch master at wine / wine
Commits:
d1d4b7fb by Vibhav Pant at 2024-12-10T20:39:55+01:00
winebth.sys: Set the Information field in the IRP's STATUS_BLOCK after handling IOCTL_BTH_GET_LOCAL_INFO.
- - - - -
e7d59544 by Vibhav Pant at 2024-12-10T20:39:57+01:00
winebth.sys: Use the correct byte-ordering for setting the radio's address property.
- - - - -
1 changed file:
- dlls/winebth.sys/winebth.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/2dfd5125f67fb58416f0fc3b707f9…
--
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/2dfd5125f67fb58416f0fc3b707f9…
You're receiving this email because of your account on gitlab.winehq.org.
Henri Verbeet pushed to branch master at wine / vkd3d
Commits:
ecddc39b by Francisco Casas at 2024-12-10T15:52:52+01:00
vkd3d-shader/hlsl: Store SM4 constant buffer declarations in vsir program.
- - - - -
ca9bb2e0 by Francisco Casas at 2024-12-10T15:52:52+01:00
vkd3d-shader/hlsl: Generate RDEF outside tpf_compile().
- - - - -
347e7a39 by Francisco Casas at 2024-12-10T15:52:52+01:00
vkd3d-shader/hlsl: Generate CTAB outside sm1_generate_vsir().
For consistency with the sm4_generate_rdef() and sm4_generate_vsir()
functions.
- - - - -
f2272946 by Francisco Casas at 2024-12-10T15:52:52+01:00
vkd3d-shader/hlsl: Store hull and domain shader properties in vsir_program.
The alternative to adding the vsir_program->tess_output_primitive and
vsir_program->tess_partitioning fields would be to emit the vsir
DCL_TESSELLATOR_OUTPUT_PRIMITIVE and DCL_TESSELLATOR_PARTITIONING
instructions, like DXIL does, but I think that the preference is to store
these kind of data directly in the vsir_program.
- - - - -
65b67e84 by Francisco Casas at 2024-12-10T15:52:52+01:00
vkd3d-shader/tpf: Remove hlsl_ctx from tpf_compiler.
This completes the hlsl->vsir->tpf translation.
- - - - -
6 changed files:
- libs/vkd3d-shader/d3dbc.c
- libs/vkd3d-shader/dxil.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/aa3a7162491fc0ab73f08e5a6cb2…
--
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/aa3a7162491fc0ab73f08e5a6cb2…
You're receiving this email because of your account on gitlab.winehq.org.
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(a)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/c1df64b3a6cacbcd93dc53659edd…
--
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/c1df64b3a6cacbcd93dc53659edd…
You're receiving this email because of your account on gitlab.winehq.org.