Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita3f1a0e

Browse files
vkd3d-shader: Add mechanism to get vkd3d-shader implementation revision.
Not immediately useful, might be nuked later in development.Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
1 parente90b573 commita3f1a0e

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

‎include/vkd3d_shader.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -799,6 +799,8 @@ int vkd3d_shader_compile_dxil_export(const struct vkd3d_shader_code *dxil,
799799
uint32_tvkd3d_shader_compile_arguments_select_quirks(
800800
conststructvkd3d_shader_compile_arguments*args,vkd3d_shader_hash_thash);
801801

802+
uint64_tvkd3d_shader_get_revision(void);
803+
802804
#endif/* VKD3D_SHADER_NO_PROTOTYPES */
803805

804806
/*

‎libs/vkd3d-shader/vkd3d_shader_main.c‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,3 +736,12 @@ uint32_t vkd3d_shader_compile_arguments_select_quirks(
736736
else
737737
return0;
738738
}
739+
740+
uint64_tvkd3d_shader_get_revision(void)
741+
{
742+
/* This is meant to be bumped every time a change is made to the shader compiler.
743+
* Might get nuked later ...
744+
* It's not immediately useful for invalidating pipeline caches, since that would mostly be covered
745+
* by vkd3d-proton Git hash. */
746+
return1;
747+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp