Commit Graph

14 Commits

Author SHA1 Message Date
Henri Verbeet
73996c9941 vkd3d-dxbc: Allow the section to extract to be specified by tag. 2024-04-04 22:20:30 +02:00
Henri Verbeet
6c3b87bed0 vkd3d-dxbc: Implement extracting section data. 2024-04-04 22:20:30 +02:00
Henri Verbeet
806afd7b50 vkd3d-dxbc: Free the blob if parsing it failed. 2024-04-04 22:20:30 +02:00
Henri Verbeet
8f529cd0ae vkd3d-dxbc: Introduce a helper function to apply actions. 2024-04-04 22:20:30 +02:00
Henri Verbeet
143b15fc47 vkd3d-dxbc: Introduce a helper function to handle ACTION_TYPE_EMIT. 2024-04-04 22:20:30 +02:00
Henri Verbeet
2712a79c55 vkd3d-dxbc: Close output files after writing them. 2024-04-04 22:20:30 +02:00
Giovanni Mascellani
7273d7f54f vkd3d-dxbc: Add an option to choose the output filename. 2024-03-11 22:08:56 +01:00
Giovanni Mascellani
b72ad78af6 vkd3d-dxbc: Add an option to re-emit the shader with the correct checksum. 2024-03-11 22:08:56 +01:00
Giovanni Mascellani
4b80b06f28 vkd3d-dxbc: Add an option to ignore checksum. 2024-03-11 22:08:56 +01:00
Henri Verbeet
d65f331efc configure: Build with -Wwrite-strings.
libs/vkd3d-shader/hlsl.c: In function ‘declare_predefined_types’:
libs/vkd3d-shader/hlsl.c:3408:10: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
         {"technique",    9},
          ^~~~~~~~~~~
...
programs/vkd3d-compiler/main.c: In function ‘parse_formatting’:
programs/vkd3d-compiler/main.c:303:10: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
         {"colour",  VKD3D_SHADER_COMPILE_OPTION_FORMATTING_COLOUR},
          ^~~~~~~~
...

macOS tigetstr() takes a non-const char *, so account for that as well.
2024-02-22 22:46:29 +01:00
Giovanni Mascellani
6743439e97 vkd3d-dxbc: Print section offsets. 2023-10-02 22:25:06 +02:00
Henri Verbeet
5d75731d97 vkd3d-dxbc: Implement listing section data. 2023-08-08 21:15:28 +09:00
Henri Verbeet
fbb5e59a03 vkd3d-dxbc: Implement listing DXBC contents. 2023-08-08 21:15:28 +09:00
Henri Verbeet
6bfb94c440 vkd3d-dxbc: Introduce a program to inspect and modify DXBC blobs. 2023-08-08 21:15:28 +09:00