[Bug 34106] Bioshock 1.0 demo needs native d3dcompiler_43 (purist)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Oct 27 15:07:28 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=34106

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net
            Summary|Bioshock demo needs native  |Bioshock 1.0 demo needs
                   |d3dx9_33 (purist)           |native d3dcompiler_43
                   |                            |(purist)

--- Comment #6 from Anastasius Focht <focht at gmx.net> 2013-10-27 15:07:28 CDT ---
Hello folks,

still present with wine-1.7.5

Updating summary, only native d3dcompiler_43 is actually needed.

The NVIDIA URL has abysmal download speed (>1d for 1.8 GiB).

Faster download here (same sha1): http://springfiles.com/downloadmain/14705

Current trace log:

--- snip ---
...
0025:trace:d3dcompiler:D3DCompile data 0x73b390, data_size 1182, filename
(null), defines (nil), include (nil), entrypoint "VSMain",
target "vs_3_0", sflags 0, eflags 0, shader 0x73b37c, error_messages (nil)
0025:trace:d3dcompiler:wpp_open_mem Opening include "".
0025:trace:d3dcompiler:compile_shader Preprocessed shader source: "# 1 \"\" 1\n
                        struct VS_OUTPUT                         {             
           float4 Position : SV_Position;                         float2
TexCoord : TEXCOORD;\t                        };                               
                 VS_OUTPUT VSMain(float4 vPos : POSITIO"...
0025:trace:d3dcompiler:compile_shader Checking compilation target "vs_3_0"
0025:trace:d3dcompiler:push_scope Pushing a new scope
0025:trace:d3dcompiler:push_scope Pushing a new scope
0025:trace:d3dcompiler:push_scope Pushing a new scope
0025:trace:d3dcompiler:make_assignment Creating proper assignment expression.
0025:fixme:d3dcompiler:make_assignment Check for casts in the lhs.
0025:trace:d3dcompiler:make_assignment Creating proper assignment expression.
0025:fixme:d3dcompiler:make_assignment Check for casts in the lhs.
0025:trace:d3dcompiler:make_assignment Creating proper assignment expression.
0025:fixme:d3dcompiler:make_assignment Check for casts in the lhs.
0025:fixme:hlsl_parser:hlsl_parse Check for valued return on void function.
0025:fixme:hlsl_parser:hlsl_parse Implicit conversion to the return type if
needed, error out if conversion not possible.
0025:trace:d3dcompiler:pop_scope Popping current scope
0025:trace:d3dcompiler:pop_scope Popping current scope
0025:trace:d3dcompiler:compilation_message :1:838: error: syntax error,
unexpected NEW_IDENTIFIER
0025:trace:d3dcompiler:compile_shader Compiler messages:
0025:trace:d3dcompiler:compile_shader ":1:838: error: syntax error, unexpected
NEW_IDENTIFIER\n"
0025:trace:d3dcompiler:compile_shader Shader source:
0025:trace:d3dcompiler:compile_shader "# 1 \"\" 1\n                        
struct VS_OUTPUT                         {                         float4
Position : SV_Position;                         float2 TexCoord : TEXCOORD;\t  
                     };                                                
VS_OUTPUT VSMain(float4 vPos : POSITIO"...
0025:err:d3dcompiler:compile_shader HLSL shader parsing failed.
...
--- snip ---

Sanitized shader source code:

--- snip ---
struct VS_OUTPUT {
  float4 Position : SV_Position;
  float2 TexCoord : TEXCOORD;
};

VS_OUTPUT VSMain(float4 vPos : POSITION, float2 vTex : TEXCOORD)
{
  VS_OUTPUT output;
  output.Position = vPos;
  output.Position.zw = float2(0,1);
  output.TexCoord = vTex;
  return output;
}

struct PS_OUTPUT
{
  float4 Color : SV_Target;
};

Texture2D Tex0;
SamplerState TextureSampler;

PS_OUTPUT PSMain(VS_OUTPUT In)
{
  PS_OUTPUT output;
  output.Color = Tex0.Sample(TextureSampler, In.TexCoord);
  return output;
}
--- snip ---

Regards

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list