Signed-off-by: Zhigang Gong <[email protected]>
---
src/cl_sampler.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/cl_sampler.c b/src/cl_sampler.c
index 7e0b7b0..b3f7045 100644
--- 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)
--
1.7.9.5
_______________________________________________
Beignet mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/beignet