[Bug 42863] New: winexy: Creates invalid glsl

classic Classic list List threaded Threaded
22 messages Options
12
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 42863] New: winexy: Creates invalid glsl

Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42863

            Bug ID: 42863
           Summary: winexy: Creates invalid glsl
           Product: Wine
           Version: unspecified
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: directx-d3d
          Assignee: [hidden email]
          Reporter: [hidden email]
      Distribution: ---

Created attachment 57963
  --> https://bugs.winehq.org/attachment.cgi?id=57963
Cutdown log of the error

When running winexy, via stream, the game doesn't display anything.

--
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.


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 42863] winexy: Creates invalid glsl

Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42863

Alistair Leslie-Hughes <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://store.steampowered.c
                   |                            |om/app/577740/

--
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.


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 42863] Multiple games require sample_c_lz for cube/array textures ( Winexy, Witcher 3, Flame in the Flood)

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42863

Józef Kucia <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
            Summary|winexy: Creates invalid     |Multiple games require
                   |glsl                        |sample_c_lz for cube/array
                   |                            |textures (Winexy, Witcher
                   |                            |3, Flame in the Flood)

--- Comment #1 from Józef Kucia <[hidden email]> ---
This is a known problem. Generally, GLSL doesn't provide a direct equivalent of
sample_c_lz for cube, cube array and 2d array textures.

--
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.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 42863] Multiple games require sample_c_lz for cube/array textures ( Winexy, Witcher 3, Flame in the Flood)

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42863

Shmerl <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #2 from Shmerl <[hidden email]> ---
(In reply to Józef Kucia from comment #1)
> This is a known problem. Generally, GLSL doesn't provide a direct equivalent
> of sample_c_lz for cube, cube array and 2d array textures.

Is there a method to simulate in some other way?

--
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.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 42863] Multiple games require sample_c_lz for cube/array textures ( Winexy, Witcher 3, Flame in the Flood)

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42863

Shmerl <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |42292

--
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.


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 42863] Multiple games require sample_c_lz for cube/array textures ( Winexy, Witcher 3, Flame in the Flood)

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42863

tokktokk <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden 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.


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 42863] Multiple games require sample_c_lz for cube/array textures ( Winexy, Witcher 3, Flame in the Flood)

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42863

mirh <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden 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.


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 42863] Multiple games require sample_c_lz for cube/array textures ( Winexy, Witcher 3, Flame in the Flood)

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42863

--- Comment #3 from Józef Kucia <[hidden email]> ---
*** Bug 43134 has been marked as a duplicate of this bug. ***

--
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.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 42863] Multiple games require sample_c_lz for cube/array textures ( Winexy, Witcher 3, Flame in the Flood)

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42863

--- Comment #4 from Józef Kucia <[hidden email]> ---
*** Bug 43130 has been marked as a duplicate of this bug. ***

--
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.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 42863] Multiple games require sample_c_lz for cube/array textures ( Winexy, Witcher 3, Flame in the Flood)

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42863

--- Comment #5 from Józef Kucia <[hidden email]> ---
*** Bug 43132 has been marked as a duplicate of this bug. ***

--
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.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 42863] Multiple games require sample_c_lz for cube/array textures ( Winexy, Witcher 3, Flame in the Flood)

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42863

Józef Kucia <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://bugs.winehq.org/sho
                   |                            |w_bug.cgi?id=43131

--
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.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 42863] Multiple games require sample_c_lz for cube/array textures ( Winexy, Witcher 3, Flame in the Flood)

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42863

--- Comment #6 from Józef Kucia <[hidden email]> ---
Created attachment 58404
  --> https://bugs.winehq.org/attachment.cgi?id=58404
sample_c_lz hack

--
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.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 42863] Multiple games require sample_c_lz for cube/array textures ( Winexy, Witcher 3, Flame in the Flood)

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42863

Simon Bolokanov <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden 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.


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 42863] Multiple games require sample_c_lz for cube/array textures ( Winexy, Witcher 3, Flame in the Flood)

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42863

Anthony Jagers <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden 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.


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 42863] Multiple games require sample_c_lz for cube/array textures ( Winexy, Witcher 3, Flame in the Flood)

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42863

Ivan Set <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden 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.


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 42863] Multiple games require sample_c_lz for cube/array textures ( Winexy, Witcher 3, Flame in the Flood)

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42863

Martin Procházka <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #7 from Martin Procházka <[hidden email]> ---
Any chance we will see this patch in next wine or wine-staging?

--
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.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 42863] Multiple games require sample_c_lz for cube/array textures ( Winexy, Witcher 3, Flame in the Flood)

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42863

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #8 from [hidden email] ---
(In reply to Martin Procházka from comment #7)
> Any chance we will see this patch in next wine or wine-staging?

I highly doubt it that it will go into upstream since they try to prevent
hacks.

--
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.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 42863] Multiple games require sample_c_lz for cube/array textures ( Winexy, Witcher 3, Flame in the Flood)

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42863

Alistair Leslie-Hughes <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch

--
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.


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 42863] Multiple games require sample_c_lz for cube/array textures ( Winexy, Witcher 3, Flame in the Flood)

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42863

Guillaume Charifi <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #9 from Guillaume Charifi <[hidden email]> ---
(In reply to Józef Kucia from comment #1)
> This is a known problem. Generally, GLSL doesn't provide a direct equivalent
> of sample_c_lz for cube, cube array and 2d array textures.

It's probably just plain wrong, but can't it be simulated by
dot(textureGather(sampler, pos, refZ), vec4(0.25)) ?

--
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.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 42863] Multiple games require sample_c_lz for cube/array textures ( Winexy, Witcher 3, Flame in the Flood)

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=42863

--- Comment #10 from Matteo Bruni <[hidden email]> ---
(In reply to Guillaume Charifi from comment #9)
> It's probably just plain wrong, but can't it be simulated by
> dot(textureGather(sampler, pos, refZ), vec4(0.25)) ?

Well, that's certainly incorrect in general. Weighting the four samples
appropriately would be okay for the linear interpolation magnification case.
That still leaves out the other cases though.

Another workaround could be to use an ad-hoc sampler or texture view overriding
the texture levels / LOD to just enable level 0. It doesn't sound too appealing
though, it would probably require some quite invasive and ugly changes to
wined3d and the additional sampler / texture view would have to be used only
for sample_c_lz i.e. we would waste a texture unit if the texture is also
sampled without _lz in the same shaders. Not sure there are other realistic
options though.

I don't know if Józef has already given some thought about a sensible fix.

--
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.

12
Loading...