projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f26ad0
)
r600g: Removed unnecessary positivity check for unsigned int variable.
author
Siavash Eliasi
<siavashserver@gmail.com>
Thu, 12 Dec 2013 14:58:52 +0000
(18:28 +0330)
committer
Marek Olšák
<marek.olsak@amd.com>
Thu, 30 Jan 2014 23:50:08 +0000
(
00:50
+0100)
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/r600/r600_asm.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_asm.c
b/src/gallium/drivers/r600/r600_asm.c
index 86f79e209b2f593dfd37141a0afd81ea6afb6e21..c5922a8fa5bdbc27c39280358375f975374f174d 100644
(file)
--- a/
src/gallium/drivers/r600/r600_asm.c
+++ b/
src/gallium/drivers/r600/r600_asm.c
@@
-387,7
+387,7
@@
static int reserve_cfile(struct r600_bytecode *bc, struct alu_bank_swizzle *bs,
static int is_gpr(unsigned sel)
{
- return (sel
>= 0 && sel
<= 127);
+ return (sel <= 127);
}
/* CB constants start at 512, and get translated to a kcache index when ALU