/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
H A D | vktShaderRenderOperatorTests.cpp | 68 inline deUint32 rightShift (deUint32 value, int amount) { return value >> amount; } function in namespace:vkt::sr::__anon3731 69 inline int rightShift (int value, int amount) { return (value >> amount) | (value >= 0 ? 0 : ~(~0U >> amount)); } // \note Arithmetic shift. function in namespace:vkt::sr::__anon3731 79 template<typename T, int Size> Vector<T, Size> rightShift (const Vector<T, Size>& value, const Vector<int, Size>& amount) function in namespace:vkt::sr::__anon3731 83 result[i] = rightShift(value[i], amount[i]); 88 template<typename T, int Size> Vector<T, Size> rightShiftVecScalar (const Vector<T, Size>& value, int amount) { return rightShift(value, Vector<int, Size>(amount)); } 1030 void eval_rightShift_int (ShaderEvalContext& c) { c.color.x() = (float)rightShift((int)c.in[0].z(), (int)c.in[1].x()); } 1031 DECLARE_BINARY_INT_VEC_FUNCS(rightShift) 1055 DECLARE_UINT_INT_GENTYPE_FUNCS(rightShift) 1620 << operInfoFunc(rightShiftName, rightShiftOp, IGT, Value(IGT, -127.0f, 127.0f), Value(gType, 0.0f, 8.0f), notUsed, 4e-3f, 0.5f, PRECMASK_MEDIUMP, INT_GENTYPE_FUNCS(rightShift)) 1621 << operInfoFunc(rightShiftName, rightShiftOp, IGT, Value(IGT, -2e9f, 2e9f), Value(gType, 0.0f, 31.0f), notUsed, 5e-10f, 0.5f, PRECMASK_HIGHP, INT_GENTYPE_FUNCS(rightShift)) [all...] |
/external/deqp/modules/gles3/functional/ |
H A D | es3fShaderOperatorTests.cpp | 83 inline deUint32 rightShift (deUint32 value, int amount) { return value >> amount; } function in namespace:deqp::gles3::Functional 84 inline int rightShift (int value, int amount) { return (value >> amount) | (value >= 0 ? 0 : ~(~0U >> amount)); } // \note Arithmetic shift. function in namespace:deqp::gles3::Functional 94 template<typename T, int Size> Vector<T, Size> rightShift (const Vector<T, Size>& value, const Vector<int, Size>& amount) function in namespace:deqp::gles3::Functional 98 result[i] = rightShift(value[i], amount[i]); 103 template<typename T, int Size> Vector<T, Size> rightShiftVecScalar (const Vector<T, Size>& value, int amount) { return rightShift(value, Vector<int, Size>(amount)); } 1090 void eval_rightShift_int (ShaderEvalContext& c) { c.color.x() = (float)rightShift((int)c.in[0].z(), (int)c.in[1].x()); } 1091 DECLARE_BINARY_INT_VEC_FUNCS(rightShift) 1115 DECLARE_UINT_INT_GENTYPE_FUNCS(rightShift) 1652 << operInfoFunc(rightShiftName, rightShiftOp, IGT, Value(IGT, -127.0f, 127.0f), Value(gType, 0.0f, 8.0f), notUsed, 4e-3f, 0.5f, PRECMASK_LOWP_MEDIUMP, INT_GENTYPE_FUNCS(rightShift)) 1653 << operInfoFunc(rightShiftName, rightShiftOp, IGT, Value(IGT, -2e9f, 2e9f), Value(gType, 0.0f, 31.0f), notUsed, 5e-10f, 0.5f, PRECMASK_HIGHP, INT_GENTYPE_FUNCS(rightShift)) [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGBuiltin.cpp | 3952 bool rightShift = false; local 4093 rightShift = true; 4096 Ops[2] = EmitNeonShiftVector(Ops[2], Ty, rightShift);
|