[PATCH 3/4] wined3d: fix texm3x3spec coordinate mask bug

Roderick Colenbrander thunderbird2k at gmail.com
Wed Apr 28 12:40:59 CDT 2010


I didn't make up out of that discussion that another solution was
needed but no problem. Yesterday I mentioned that 'setting fake 2d
sampler' line but after a more thorough look
pixel_shader_update_samplers which is called before the shader is
generated again sets a 2D sampler (it gets this from the texture).
This makes me believe the patch is fine unless the call which
retrieves this info from the texture is wrong but I doubt it is wrong
but if you want I can look closer to that.

Roderick

On Wed, Apr 28, 2010 at 2:54 PM, Henri Verbeet <hverbeet at gmail.com> wrote:
> On 28 April 2010 14:29, Roderick Colenbrander <thunderbird2k at gmail.com> wrote:
>> This patch fixes an issue in "King's Bounty: The Legend" for which a shader of the form:
>> 'texture2D(sampler2D, tmp0.xyz)' was generated. The nvidia GLSL compiler wants to have tmp0.xyz.
>
> We talked about this on IRC yesterday, the reason this happens is that
> the sampler type is wrong.
>
>
>



More information about the wine-devel mailing list