All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roel Kluin <12o3l-IWqWACnzNjzz+pZb47iToQ@public.gmane.org>
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: [PATCH 1/1] [same+another] two typos in nouveau_shader.c
Date: Wed, 23 Jan 2008 22:54:26 +0100	[thread overview]
Message-ID: <4797B792.8030803@tiscali.nl> (raw)

There appears to be another typo in the file (this patch includes both fixes):
--
Fix two typos

Signed-off-by: Roel Kluin <12o3l-IWqWACnzNjzz+pZb47iToQ@public.gmane.org>
---
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_shader.c b/src/mesa/drivers/dri/nouveau/nouveau_shader.c
index b6837c5..f0196e9 100644
--- a/src/mesa/drivers/dri/nouveau/nouveau_shader.c
+++ b/src/mesa/drivers/dri/nouveau/nouveau_shader.c
@@ -554,7 +554,7 @@ nvsDumpInstruction(nvsInstruction * inst, int slot, int lvl)
    nvsDumpIndent(lvl);
    printf("%s ", opr->name);
 
-   if (!opr->flags & NODS) {
+   if (!(opr->flags & NODS)) {
       switch (inst->dest.file) {
       case NVS_FILE_RESULT:
 	 printf("result.%s", SFR_STRING(inst->dest.index));
@@ -635,7 +635,7 @@ nvsDisasmHWShaderOp(nvsFunc * shader, int merged)
 
    printf("%s", opi->name);
    if (shader->GetPrecision &&
-       (!(opi->flags & BRANCH_ALL)) && (!(opi->flags * NODS)) &&
+       (!(opi->flags & BRANCH_ALL)) && (!(opi->flags & NODS)) &&
        (op != NVS_OP_NOP))
       printf("%s", NVS_PREC_STRING(shader->GetPrecision(shader)));
    if (shader->SupportsConditional && shader->SupportsConditional(shader)) {

                 reply	other threads:[~2008-01-23 21:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4797B792.8030803@tiscali.nl \
    --to=12o3l-iwqwacnznjzz+pzb47itoq@public.gmane.org \
    --cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.