Fixing hlsl compiler error on Wine's d3dcompiler
#1
Code:
trace:d3dcompiler:D3DCompile data 0x77f9660, data_size 5679, filename (null), defines 0x773d308, include 0x0, entrypoint "vs_main", target "vs_3_0", sflags 0, eflags 0, shader 0x892ede0, error_messages 0x892ede4.
trace:d3dcompiler:D3DCompile2 data 0x77f9660, data_size 5679, filename (null), defines 0x773d308, include 0x0, entrypoint "vs_main", target "vs_3_0", sflags 0, eflags 0, secondary_flags 0, secondary_data 0x0, secondary_data_size 0, shader 0x892ede0, error_messages 0x892ede4.
trace:d3dcompiler:wpp_open_mem Opening include "".
trace:d3dcompiler:compile_shader Preprocessed shader source: "# 1 \"\" 1\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nstruct VS_INPUT\r\n{\r\n\tfloat4 p : POSITION; \r\n\tfloat2 t : TEXCOORD0;\r\n};\r\n\r\nstruct VS_OUTPUT\r\n{\r\n\tfloat4 p : POSITION;\r\n\tfloat2 t : TEXCOORD0;\r\n};\r\n\r\nstruct PS_INPUT\r\n{\r\n\n\n\n\tfloat4 "...
trace:d3dcompiler:compile_shader Checking compilation target "vs_3_0"
trace:d3dcompiler:push_scope Pushing a new scope
trace:hlsl_parser:hlsl_lex Preprocessor line info.
trace:hlsl_parser:hlsl_parse Updating line information to file "", line 1
trace:hlsl_parser:debug_dump_decl Line 39: "float4" p;
trace:hlsl_parser:debug_dump_decl Line 40: "float2" t;
trace:hlsl_parser:hlsl_parse Structure "VS_INPUT" declaration.
trace:hlsl_parser:hlsl_parse Declaration statement parsed.
trace:hlsl_parser:debug_dump_decl Line 45: "float4" p;
trace:hlsl_parser:debug_dump_decl Line 46: "float2" t;
trace:hlsl_parser:hlsl_parse Structure "VS_OUTPUT" declaration.
trace:hlsl_parser:hlsl_parse Declaration statement parsed.
trace:hlsl_parser:debug_dump_decl Line 54: "float4" p;
trace:hlsl_parser:debug_dump_decl Line 56: "float2" t;
trace:hlsl_parser:hlsl_parse Structure "PS_INPUT" declaration.
trace:hlsl_parser:hlsl_parse Declaration statement parsed.
trace:hlsl_parser:debug_dump_decl Line 61: "float4" c;
trace:hlsl_parser:hlsl_parse Structure "PS_OUTPUT" declaration.
trace:hlsl_parser:hlsl_parse Declaration statement parsed.
trace:hlsl_parser:debug_dump_decl Line 64: "sampler" Texture;
trace:hlsl_parser:declare_variable Declaring variable Texture.
trace:hlsl_parser:declare_vars Declared variable Texture.
trace:hlsl_parser:hlsl_parse Declaration statement parsed.
trace:d3dcompiler:push_scope Pushing a new scope
trace:d3dcompiler:push_scope Pushing a new scope
trace:d3dcompiler:compilation_message :68:14: error: syntax error, unexpected NEW_IDENTIFIER
trace:hlsl_parser:parse_hlsl IR dump.
trace:hlsl_parser:parse_hlsl Compilation status = 2
trace:hlsl_parser:parse_hlsl Freeing functions IR.
trace:hlsl_parser:parse_hlsl Freeing variables.
trace:hlsl_parser:parse_hlsl Freeing types.
trace:d3dcompiler:compile_shader Compiler messages:
trace:d3dcompiler:compile_shader ":68:14: error: syntax error, unexpected NEW_IDENTIFIER\n"
trace:d3dcompiler:compile_shader Shader source:
trace:d3dcompiler:compile_shader "# 1 \"\" 1\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nstruct VS_INPUT\r\n{\r\n\tfloat4 p : POSITION; \r\n\tfloat2 t : TEXCOORD0;\r\n};\r\n\r\nstruct VS_OUTPUT\r\n{\r\n\tfloat4 p : POSITION;\r\n\tfloat2 t : TEXCOORD0;\r\n};\r\n\r\nstruct PS_INPUT\r\n{\r\n\n\n\n\tfloat4 "...
trace:d3dcompiler:D3DCreateBlob data_size 56, blob 0x892ecfc
trace:d3dcompiler:D3DCreateBlob Created ID3DBlob 0x789a398
trace:d3dcompiler:d3dcompiler_blob_GetBufferPointer iface 0x789a398
err:d3dcompiler:compile_shader HLSL shader parsing failed.
trace:d3dcompiler:d3dcompiler_blob_GetBufferPointer iface 0x789a398

Hopefully this information is helpful to anybody who wants to get GSdx working on Wine's d3dcompiler without installing Microsoft's d3dcompiler via winetricks. I believe this is the only blocker to getting the latest PCSX2 git working on Wine/macOS again.
Reply

Sponsored links

#2
(08-14-2017, 07:41 PM)uyjulian Wrote:
Code:
trace:d3dcompiler:D3DCompile data 0x77f9660, data_size 5679, filename (null), defines 0x773d308, include 0x0, entrypoint "vs_main", target "vs_3_0", sflags 0, eflags 0, shader 0x892ede0, error_messages 0x892ede4.
trace:d3dcompiler:D3DCompile2 data 0x77f9660, data_size 5679, filename (null), defines 0x773d308, include 0x0, entrypoint "vs_main", target "vs_3_0", sflags 0, eflags 0, secondary_flags 0, secondary_data 0x0, secondary_data_size 0, shader 0x892ede0, error_messages 0x892ede4.
trace:d3dcompiler:wpp_open_mem Opening include "".
trace:d3dcompiler:compile_shader Preprocessed shader source: "# 1 \"\" 1\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nstruct VS_INPUT\r\n{\r\n\tfloat4 p : POSITION; \r\n\tfloat2 t : TEXCOORD0;\r\n};\r\n\r\nstruct VS_OUTPUT\r\n{\r\n\tfloat4 p : POSITION;\r\n\tfloat2 t : TEXCOORD0;\r\n};\r\n\r\nstruct PS_INPUT\r\n{\r\n\n\n\n\tfloat4 "...
trace:d3dcompiler:compile_shader Checking compilation target "vs_3_0"
trace:d3dcompiler:push_scope Pushing a new scope
trace:hlsl_parser:hlsl_lex Preprocessor line info.
trace:hlsl_parser:hlsl_parse Updating line information to file "", line 1
trace:hlsl_parser:debug_dump_decl Line 39: "float4" p;
trace:hlsl_parser:debug_dump_decl Line 40: "float2" t;
trace:hlsl_parser:hlsl_parse Structure "VS_INPUT" declaration.
trace:hlsl_parser:hlsl_parse Declaration statement parsed.
trace:hlsl_parser:debug_dump_decl Line 45: "float4" p;
trace:hlsl_parser:debug_dump_decl Line 46: "float2" t;
trace:hlsl_parser:hlsl_parse Structure "VS_OUTPUT" declaration.
trace:hlsl_parser:hlsl_parse Declaration statement parsed.
trace:hlsl_parser:debug_dump_decl Line 54: "float4" p;
trace:hlsl_parser:debug_dump_decl Line 56: "float2" t;
trace:hlsl_parser:hlsl_parse Structure "PS_INPUT" declaration.
trace:hlsl_parser:hlsl_parse Declaration statement parsed.
trace:hlsl_parser:debug_dump_decl Line 61: "float4" c;
trace:hlsl_parser:hlsl_parse Structure "PS_OUTPUT" declaration.
trace:hlsl_parser:hlsl_parse Declaration statement parsed.
trace:hlsl_parser:debug_dump_decl Line 64: "sampler" Texture;
trace:hlsl_parser:declare_variable Declaring variable Texture.
trace:hlsl_parser:declare_vars Declared variable Texture.
trace:hlsl_parser:hlsl_parse Declaration statement parsed.
trace:d3dcompiler:push_scope Pushing a new scope
trace:d3dcompiler:push_scope Pushing a new scope
trace:d3dcompiler:compilation_message :68:14: error: syntax error, unexpected NEW_IDENTIFIER
trace:hlsl_parser:parse_hlsl IR dump.
trace:hlsl_parser:parse_hlsl Compilation status = 2
trace:hlsl_parser:parse_hlsl Freeing functions IR.
trace:hlsl_parser:parse_hlsl Freeing variables.
trace:hlsl_parser:parse_hlsl Freeing types.
trace:d3dcompiler:compile_shader Compiler messages:
trace:d3dcompiler:compile_shader ":68:14: error: syntax error, unexpected NEW_IDENTIFIER\n"
trace:d3dcompiler:compile_shader Shader source:
trace:d3dcompiler:compile_shader "# 1 \"\" 1\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nstruct VS_INPUT\r\n{\r\n\tfloat4 p : POSITION; \r\n\tfloat2 t : TEXCOORD0;\r\n};\r\n\r\nstruct VS_OUTPUT\r\n{\r\n\tfloat4 p : POSITION;\r\n\tfloat2 t : TEXCOORD0;\r\n};\r\n\r\nstruct PS_INPUT\r\n{\r\n\n\n\n\tfloat4 "...
trace:d3dcompiler:D3DCreateBlob data_size 56, blob 0x892ecfc
trace:d3dcompiler:D3DCreateBlob Created ID3DBlob 0x789a398
trace:d3dcompiler:d3dcompiler_blob_GetBufferPointer iface 0x789a398
err:d3dcompiler:compile_shader HLSL shader parsing failed.
trace:d3dcompiler:d3dcompiler_blob_GetBufferPointer iface 0x789a398

Hopefully this information is helpful to anybody who wants to get GSdx working on Wine's d3dcompiler without installing Microsoft's d3dcompiler via winetricks. I believe this is the only blocker to getting the latest PCSX2 git working on Wine/macOS again.

Is there any update on this? I'd be willing to help beta test.
Reply
#3
(09-21-2017, 10:18 AM)Shiggitay Wrote: Is there any update on this? I'd be willing to help beta test.

Help beta test... what?
Reply
#4
(09-21-2017, 12:31 PM)uyjulian Wrote: Help beta test... what?


A build that'd be running under WINE, or any OS X build you guys compile.
Reply
#5
(09-23-2017, 08:37 AM)Shiggitay Wrote: A build that'd be running under WINE, or any OS X build you guys compile.

This isn't a build, it's information on how to get GSdx working again without M$ d3dcompiler.
Reply
#6
(09-23-2017, 07:17 PM)uyjulian Wrote: This isn't a build, it's information on how to get GSdx working again without M$ d3dcompiler.

Okay well when there IS a build available I'll help test it.
Reply




Users browsing this thread: 1 Guest(s)