=?UTF-8?Q?J=C3=B3zef=20Kucia=20?=: vkd3d-shader: Translate samplepos instructions.

Alexandre Julliard julliard at winehq.org
Tue Apr 30 02:57:08 CDT 2019


Module: vkd3d
Branch: master
Commit: 33937196925c3c30eb31e48298be1b8562b76add
URL:    https://source.winehq.org/git/vkd3d.git/?a=commit;h=33937196925c3c30eb31e48298be1b8562b76add

Author: Józef Kucia <jkucia at codeweavers.com>
Date:   Mon Apr 29 11:38:10 2019 +0200

vkd3d-shader: Translate samplepos instructions.

This returns standard sample locations. DXC and glslang do the same thing.

https://github.com/khronosgroup/glslang/commit/d4d0b29752c173d2aa8d2d105f2f1844676bc165

In the long term, we could also add a shader parameter to pass sample
positions to the shader compiler.

Signed-off-by: Józef Kucia <jkucia at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 libs/vkd3d-shader/spirv.c | 171 +++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 154 insertions(+), 17 deletions(-)

Diff:   https://source.winehq.org/git/vkd3d.git/?a=commitdiff;h=33937196925c3c30eb31e48298be1b8562b76add



More information about the wine-cvs mailing list