projects
/
contrib
/
beignet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6465b3e
)
Runtime: fix a bug when set sampler value.
author
Zhigang Gong
<zhigang.gong@linux.intel.com>
Fri, 6 Sep 2013 05:43:05 +0000
(13:43 +0800)
committer
Zhigang Gong
<zhigang.gong@linux.intel.com>
Wed, 18 Sep 2013 06:40:20 +0000
(14:40 +0800)
Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Reviewed-by: He Junyan <junyan.he@inbox.com>
src/cl_sampler.c
patch
|
blob
|
history
diff --git
a/src/cl_sampler.c
b/src/cl_sampler.c
index
7e0b7b0
..
b3f7045
100644
(file)
--- a/
src/cl_sampler.c
+++ b/
src/cl_sampler.c
@@
-49,7
+49,7
@@
uint32_t cl_to_clk(cl_bool normalized_coords,
}
return (clk_address << __CLK_ADDRESS_BASE)
| (normalized_coords << __CLK_NORMALIZED_BASE)
- | (clk_filter
<< __CLK_FILTER_BASE
);
+ | (clk_filter);
}
#define IS_SAMPLER_ARG(v) (v & __CLK_SAMPLER_ARG_KEY_BIT)