diff options
author | Jean-Luc Brouillet <jeanluc@google.com> | 2015-03-22 12:44:27 -0700 |
---|---|---|
committer | Jean-Luc Brouillet <jeanluc@google.com> | 2015-03-24 18:31:17 -0700 |
commit | 386e87ecf4114084c10dd385edc1c2baebe80a04 (patch) | |
tree | 513d07074f20afc8463300067490b2fbb47a1b04 /driver | |
parent | b560a8ab382ba9f7df2af1ece520b75a02451e4d (diff) | |
download | rs-386e87ecf4114084c10dd385edc1c2baebe80a04.tar.gz |
Reorganize the header files in a way that's easier to document.
This CL does not change any specification found in a .spec file,
it just reorganizes the distribution of the content.
It also changes a few files that included headers that no longer
exist.
Change-Id: I9474ea6706449312fc7a5715d5bef3eabb288bb9
Diffstat (limited to 'driver')
-rw-r--r-- | driver/runtime/arch/clamp.c | 3 | ||||
-rw-r--r-- | driver/runtime/arch/generic.c | 2 | ||||
-rw-r--r-- | driver/runtime/rs_cl.c | 2 | ||||
-rw-r--r-- | driver/runtime/rs_core.c | 1 | ||||
-rw-r--r-- | driver/runtime/rs_structs.h | 3 |
5 files changed, 6 insertions, 5 deletions
diff --git a/driver/runtime/arch/clamp.c b/driver/runtime/arch/clamp.c index fc8f248e..86d6f96f 100644 --- a/driver/runtime/arch/clamp.c +++ b/driver/runtime/arch/clamp.c @@ -14,7 +14,7 @@ * limitations under the License. */ -#include "rs_types.rsh" +#include "rs_core.rsh" typedef unsigned long long ull; typedef unsigned long long ull2 __attribute__((ext_vector_type(2))); @@ -106,4 +106,3 @@ V_CLAMP(ulong); V_CLAMP(ull); #undef _CLAMP - diff --git a/driver/runtime/arch/generic.c b/driver/runtime/arch/generic.c index c7a717f2..e178ed58 100644 --- a/driver/runtime/arch/generic.c +++ b/driver/runtime/arch/generic.c @@ -15,7 +15,7 @@ */ -#include "rs_types.rsh" +#include "rs_core.rsh" extern short __attribute__((overloadable, always_inline)) rsClamp(short amount, short low, short high); extern uchar4 __attribute__((overloadable)) convert_uchar4(short4); diff --git a/driver/runtime/rs_cl.c b/driver/runtime/rs_cl.c index a79ad2a9..3296eede 100644 --- a/driver/runtime/rs_cl.c +++ b/driver/runtime/rs_cl.c @@ -1,4 +1,4 @@ -#include "rs_types.rsh" +#include "rs_core.rsh" extern float2 __attribute__((overloadable)) convert_float2(int2 c); extern float3 __attribute__((overloadable)) convert_float3(int3 c); diff --git a/driver/runtime/rs_core.c b/driver/runtime/rs_core.c index 856c42bf..bd0b2a1e 100644 --- a/driver/runtime/rs_core.c +++ b/driver/runtime/rs_core.c @@ -1,5 +1,4 @@ #include "rs_core.rsh" -#include "rs_types.rsh" #include "rs_structs.h" #include "rsCpuCoreRuntime.h" diff --git a/driver/runtime/rs_structs.h b/driver/runtime/rs_structs.h index 76c21564..2d661901 100644 --- a/driver/runtime/rs_structs.h +++ b/driver/runtime/rs_structs.h @@ -1,6 +1,9 @@ #ifndef _RS_STRUCTS_H_ #define _RS_STRUCTS_H_ +#include "rs_core.rsh" +#include "rs_graphics.rsh" + /***************************************************************************** * CAUTION * |