Skip to content
Snippets Groups Projects
  1. Apr 26, 2023
  2. Apr 25, 2023
  3. Apr 21, 2023
    • Elizabeth Figura's avatar
      vkd3d-shader/tpf: Return unsigned int from hlsl_sm4_register_from_semantic(). · b46df551
      Elizabeth Figura authored and Alexandre Julliard's avatar Alexandre Julliard committed
      Fix a compile warning:
      
      ../vkd3d/libs/vkd3d-shader/hlsl_codegen.c: In function 'allocate_semantic_register':
      ../vkd3d/libs/vkd3d-shader/hlsl_codegen.c:2947:85: error: passing argument 4 of 'hlsl_sm4_register_from_semantic' from incompatible pointer type [-Werror=incompatible-pointer-types]
       2947 |         if ((builtin = hlsl_sm4_register_from_semantic(ctx, &var->semantic, output, &type, NULL, &has_idx)))
            |                                                                                     ^~~~~
            |                                                                                     |
            |                                                                                     unsigned int *
      In file included from ../vkd3d/libs/vkd3d-shader/hlsl_codegen.c:21:
      ../vkd3d/libs/vkd3d-shader/hlsl.h:1171:52: note: expected 'enum vkd3d_sm4_register_type *' but argument is of type 'unsigned int *'
       1171 |         bool output, enum vkd3d_sm4_register_type *type, enum vkd3d_sm4_swizzle_type *swizzle_type, bool *has_idx);
            |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
      b46df551
    • Nikolay Sivov's avatar
      vkd3d-shader/hlsl: Ignore "unroll" attribute for loops. · 317b8aa0
      Nikolay Sivov authored and Alexandre Julliard's avatar Alexandre Julliard committed
      317b8aa0
  4. Apr 20, 2023
  5. Apr 19, 2023
  6. Apr 18, 2023
Loading