[igt-dev] [PATCH i-g-t 2/2] lib/i915: Move shaders directory

Petri Latvala petri.latvala at intel.com
Wed Oct 3 11:00:32 UTC 2018


On Tue, Oct 02, 2018 at 03:49:33PM +0200, Katarzyna Dec wrote:
> In shaders/ directory we got Intel specific information. As igt
> is a project for more vendors, let's move this directory to
> lib/i915.
> 
> Signed-off-by: Katarzyna Dec <katarzyna.dec at intel.com>
> Cc: Arkadiusz Hiler <arkadiusz.hiler at intel.com>
> Cc: Petri Latvala <petri.latvala at intel.com>
> Cc: Kalamarz Lukasz <lukasz.kalamarz at intel.com>
> Cc: Antonio Argenziano <antonio.argenziano at intel.com>
> Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
> ---
>  {shaders => lib/i915/shaders}/README                    | 0
>  {shaders => lib/i915/shaders}/converter.py              | 0
>  {shaders => lib/i915/shaders}/gpgpu/README              | 0
>  {shaders => lib/i915/shaders}/gpgpu/gpgpu_fill.gxa      | 0
>  {shaders => lib/i915/shaders}/gpgpu/gpgpu_fill_gen8.asm | 0
>  {shaders => lib/i915/shaders}/gpgpu/gpgpu_fill_gen9.asm | 0
>  {shaders => lib/i915/shaders}/media/README              | 0
>  {shaders => lib/i915/shaders}/media/media_fill.gxa      | 0
>  {shaders => lib/i915/shaders}/media/media_fill_gen8.asm | 0
>  {shaders => lib/i915/shaders}/ps/README                 | 0
>  {shaders => lib/i915/shaders}/ps/blit.g7a               | 0
>  {shaders => lib/i915/shaders}/ps/blit_gen8.asm          | 0
>  {shaders => lib/i915/shaders}/ps/neg1_gen8.asm          | 0
>  {shaders => lib/i915/shaders}/ps/neg1_test.g7a          | 0
>  14 files changed, 0 insertions(+), 0 deletions(-)
>  rename {shaders => lib/i915/shaders}/README (100%)
>  rename {shaders => lib/i915/shaders}/converter.py (100%)
>  rename {shaders => lib/i915/shaders}/gpgpu/README (100%)
>  rename {shaders => lib/i915/shaders}/gpgpu/gpgpu_fill.gxa (100%)
>  rename {shaders => lib/i915/shaders}/gpgpu/gpgpu_fill_gen8.asm (100%)
>  rename {shaders => lib/i915/shaders}/gpgpu/gpgpu_fill_gen9.asm (100%)
>  rename {shaders => lib/i915/shaders}/media/README (100%)
>  rename {shaders => lib/i915/shaders}/media/media_fill.gxa (100%)
>  rename {shaders => lib/i915/shaders}/media/media_fill_gen8.asm (100%)
>  rename {shaders => lib/i915/shaders}/ps/README (100%)
>  rename {shaders => lib/i915/shaders}/ps/blit.g7a (100%)
>  rename {shaders => lib/i915/shaders}/ps/blit_gen8.asm (100%)
>  rename {shaders => lib/i915/shaders}/ps/neg1_gen8.asm (100%)
>  rename {shaders => lib/i915/shaders}/ps/neg1_test.g7a (100%)


# git grep shaders/
include/drm-uapi/vc4_drm.h:      * how many pointers are necessary (fixed number for shaders/uniforms,
lib/gpgpu_fill.c:/* shaders/gpgpu/gpgpu_fill.gxa */
lib/rendercopy_gen8.c:/* see shaders/ps/blit.g7a */
lib/rendercopy_gen9.c:/* see shaders/ps/blit.g7a */

Ignoring the vc4_drm.h hit, change those other comments to refer to
the new paths.


-- 
Petri Latvala




> 
> diff --git a/shaders/README b/lib/i915/shaders/README
> similarity index 100%
> rename from shaders/README
> rename to lib/i915/shaders/README
> diff --git a/shaders/converter.py b/lib/i915/shaders/converter.py
> similarity index 100%
> rename from shaders/converter.py
> rename to lib/i915/shaders/converter.py
> diff --git a/shaders/gpgpu/README b/lib/i915/shaders/gpgpu/README
> similarity index 100%
> rename from shaders/gpgpu/README
> rename to lib/i915/shaders/gpgpu/README
> diff --git a/shaders/gpgpu/gpgpu_fill.gxa b/lib/i915/shaders/gpgpu/gpgpu_fill.gxa
> similarity index 100%
> rename from shaders/gpgpu/gpgpu_fill.gxa
> rename to lib/i915/shaders/gpgpu/gpgpu_fill.gxa
> diff --git a/shaders/gpgpu/gpgpu_fill_gen8.asm b/lib/i915/shaders/gpgpu/gpgpu_fill_gen8.asm
> similarity index 100%
> rename from shaders/gpgpu/gpgpu_fill_gen8.asm
> rename to lib/i915/shaders/gpgpu/gpgpu_fill_gen8.asm
> diff --git a/shaders/gpgpu/gpgpu_fill_gen9.asm b/lib/i915/shaders/gpgpu/gpgpu_fill_gen9.asm
> similarity index 100%
> rename from shaders/gpgpu/gpgpu_fill_gen9.asm
> rename to lib/i915/shaders/gpgpu/gpgpu_fill_gen9.asm
> diff --git a/shaders/media/README b/lib/i915/shaders/media/README
> similarity index 100%
> rename from shaders/media/README
> rename to lib/i915/shaders/media/README
> diff --git a/shaders/media/media_fill.gxa b/lib/i915/shaders/media/media_fill.gxa
> similarity index 100%
> rename from shaders/media/media_fill.gxa
> rename to lib/i915/shaders/media/media_fill.gxa
> diff --git a/shaders/media/media_fill_gen8.asm b/lib/i915/shaders/media/media_fill_gen8.asm
> similarity index 100%
> rename from shaders/media/media_fill_gen8.asm
> rename to lib/i915/shaders/media/media_fill_gen8.asm
> diff --git a/shaders/ps/README b/lib/i915/shaders/ps/README
> similarity index 100%
> rename from shaders/ps/README
> rename to lib/i915/shaders/ps/README
> diff --git a/shaders/ps/blit.g7a b/lib/i915/shaders/ps/blit.g7a
> similarity index 100%
> rename from shaders/ps/blit.g7a
> rename to lib/i915/shaders/ps/blit.g7a
> diff --git a/shaders/ps/blit_gen8.asm b/lib/i915/shaders/ps/blit_gen8.asm
> similarity index 100%
> rename from shaders/ps/blit_gen8.asm
> rename to lib/i915/shaders/ps/blit_gen8.asm
> diff --git a/shaders/ps/neg1_gen8.asm b/lib/i915/shaders/ps/neg1_gen8.asm
> similarity index 100%
> rename from shaders/ps/neg1_gen8.asm
> rename to lib/i915/shaders/ps/neg1_gen8.asm
> diff --git a/shaders/ps/neg1_test.g7a b/lib/i915/shaders/ps/neg1_test.g7a
> similarity index 100%
> rename from shaders/ps/neg1_test.g7a
> rename to lib/i915/shaders/ps/neg1_test.g7a
> -- 
> 2.17.1
> 


More information about the igt-dev mailing list