[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: [PATCH] wined3d: Recognize SM5 dcl_resource_raw instruction.
From: guillaume.charifi () sfr ! fr
Date: 2017-01-29 12:28:15
Message-ID: 1893225351.80830.1485692895802.JavaMail.www () wsfrf1421
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Yes, you're right, I forgot to commit the declaration of raw_resource in \
wined3d_private.<br> And yes, it can be replaced by dst instead.
<div class="gl_quote" style="margin-top: 20px; padding-top: 5px;">
<div class="gl_quoted">On Sun, Jan 29, 2017 at 11:52 AM, Guillaume Charifi<br>
wrote:<br>
> Signed-off-by: Guillaume Charifi<br>
> ---<br>
> dlls/wined3d/arb_program_shader.c | 1 +<br>
> dlls/wined3d/glsl_shader.c | 1 +<br>
> dlls/wined3d/shader.c | 6 ++++++<br>
> dlls/wined3d/shader_sm4.c | 10 ++++++++++<br>
> dlls/wined3d/wined3d_private.h | 1 +<br>
> 5 files changed, 19 insertions(+)<br>
<br>
This patch doesn't even compile. Please test your patches before<br>
sending them to wine-patches.<br>
<br>
> +static void shader_sm5_read_dcl_resource_raw(struct wined3d_shader_instruction \
*ins,<br> > + DWORD opcode, DWORD opcode_token, const DWORD *tokens, unsigned int \
token_count,<br> > + struct wined3d_sm4_data *priv)<br>
> +{<br>
> + shader_sm4_read_dst_param(priv, &tokens, WINED3D_DATA_RESOURCE, \
&ins->declaration.raw_resource.reg);<br> > +}<br>
<br>
You should just use "ins->declaration.dst".</div>
</div>
[Attachment #5 (text/html)]
Yes, you're right, I forgot to commit the declaration of raw_resource in \
wined3d_private.<br> And yes, it can be replaced by dst instead.
<div class="gl_quote" style="margin-top: 20px; padding-top: 5px;">
<div class="gl_quoted">On Sun, Jan 29, 2017 at 11:52 AM, Guillaume Charifi<br>
wrote:<br>
> Signed-off-by: Guillaume Charifi<br>
> ---<br>
> dlls/wined3d/arb_program_shader.c | 1 +<br>
> dlls/wined3d/glsl_shader.c | 1 +<br>
> dlls/wined3d/shader.c | 6 ++++++<br>
> dlls/wined3d/shader_sm4.c | 10 ++++++++++<br>
> dlls/wined3d/wined3d_private.h | 1 +<br>
> 5 files changed, 19 insertions(+)<br>
<br>
This patch doesn't even compile. Please test your patches before<br>
sending them to wine-patches.<br>
<br>
> +static void shader_sm5_read_dcl_resource_raw(struct wined3d_shader_instruction \
*ins,<br> > + DWORD opcode, DWORD opcode_token, const DWORD *tokens, unsigned int \
token_count,<br> > + struct wined3d_sm4_data *priv)<br>
> +{<br>
> + shader_sm4_read_dst_param(priv, &tokens, WINED3D_DATA_RESOURCE, \
&ins->declaration.raw_resource.reg);<br> > +}<br>
<br>
You should just use "ins->declaration.dst".</div>
</div>
[Attachment #6 (text/plain)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic