On Wed, Mar 25, 2020 at 1:19 AM Zebediah Figura z.figura12@gmail.com wrote:
I get: /home/matteo/wine/dlls/d3dcompiler_43/bytecodewriter.c:2291:5: error: unknown type name ‘uint8_t’ 2291 | uint8_t major, minor; | ^~~~~~~
Looks very nice otherwise. BTW:
@@ -2443,17 +2342,32 @@ HRESULT shader_write_bytecode(const struct bwriter_shader *shader, DWORD **resul ERR("NULL shader structure, aborting\n"); return E_FAIL; }
writer = create_writer(sm1_version(shader));
writer->shader = shader;
*result = NULL;
if(!writer) {
Nice NULL check we had here :/