File builders/mesa-gl-1/contrib/amd.sh changed (mode: 100644) (index d8ef079..d20dc57) |
... |
... |
$src_dir/src/amd/addrlib/src/core/addrlib1.cpp \ |
11 |
11 |
$src_dir/src/amd/addrlib/src/core/addrlib2.cpp \ |
$src_dir/src/amd/addrlib/src/core/addrlib2.cpp \ |
12 |
12 |
$src_dir/src/amd/addrlib/src/core/addrobject.cpp \ |
$src_dir/src/amd/addrlib/src/core/addrobject.cpp \ |
13 |
13 |
$src_dir/src/amd/addrlib/src/core/coord.cpp \ |
$src_dir/src/amd/addrlib/src/core/coord.cpp \ |
|
14 |
|
$src_dir/src/amd/addrlib/src/gfx10/gfx10addrlib.cpp \ |
14 |
15 |
$src_dir/src/amd/addrlib/src/gfx9/gfx9addrlib.cpp \ |
$src_dir/src/amd/addrlib/src/gfx9/gfx9addrlib.cpp \ |
15 |
16 |
$src_dir/src/amd/addrlib/src/r800/ciaddrlib.cpp \ |
$src_dir/src/amd/addrlib/src/r800/ciaddrlib.cpp \ |
16 |
17 |
$src_dir/src/amd/addrlib/src/r800/egbaddrlib.cpp \ |
$src_dir/src/amd/addrlib/src/r800/egbaddrlib.cpp \ |
|
... |
... |
do |
31 |
32 |
$cxxo_slib -o $libaddrlib_cxx_obj $f \ |
$cxxo_slib -o $libaddrlib_cxx_obj $f \ |
32 |
33 |
-I$src_dir/src/amd/addrlib/src/chip/r800 \ |
-I$src_dir/src/amd/addrlib/src/chip/r800 \ |
33 |
34 |
-I$src_dir/src/amd/addrlib/src/chip/gfx9 \ |
-I$src_dir/src/amd/addrlib/src/chip/gfx9 \ |
|
35 |
|
-I$src_dir/src/amd/addrlib/src/chip/gfx10 \ |
34 |
36 |
-I$src_dir/src/amd/addrlib/src/core \ |
-I$src_dir/src/amd/addrlib/src/core \ |
35 |
37 |
-I$src_dir/src/amd/addrlib/src \ |
-I$src_dir/src/amd/addrlib/src \ |
36 |
38 |
-I$src_dir/src/amd/addrlib/inc \ |
-I$src_dir/src/amd/addrlib/inc \ |
|
... |
... |
$src_dir/src/amd/common/sid_tables.py \ |
54 |
56 |
$src_dir/src/amd/common/sid.h \ |
$src_dir/src/amd/common/sid.h \ |
55 |
57 |
$src_dir/src/amd/registers/amdgfxregs.json \ |
$src_dir/src/amd/registers/amdgfxregs.json \ |
56 |
58 |
$src_dir/src/amd/registers/pkt3.json \ |
$src_dir/src/amd/registers/pkt3.json \ |
|
59 |
|
$src_dir/src/amd/registers/gfx10.json \ |
|
60 |
|
$src_dir/src/amd/registers/gfx10-rsrc.json \ |
57 |
61 |
>$build_dir/src/amd/sid_tables.h |
>$build_dir/src/amd/sid_tables.h |
58 |
62 |
|
|
59 |
63 |
$python3 \ |
$python3 \ |
60 |
64 |
$src_dir/src/amd/registers/makeregheader.py \ |
$src_dir/src/amd/registers/makeregheader.py \ |
61 |
65 |
$src_dir/src/amd/registers/amdgfxregs.json \ |
$src_dir/src/amd/registers/amdgfxregs.json \ |
62 |
66 |
$src_dir/src/amd/registers/pkt3.json \ |
$src_dir/src/amd/registers/pkt3.json \ |
|
67 |
|
$src_dir/src/amd/registers/gfx10.json \ |
|
68 |
|
$src_dir/src/amd/registers/gfx10-rsrc.json \ |
63 |
69 |
--sort address \ |
--sort address \ |
64 |
70 |
--guard AMDGFXREGS_H \ |
--guard AMDGFXREGS_H \ |
65 |
71 |
>$build_dir/src/amd/amdgfxregs.h |
>$build_dir/src/amd/amdgfxregs.h |
File builders/mesa-gl-1/contrib/gallium_drivers.sh changed (mode: 100644) (index 49681a6..f0a3262) |
... |
... |
$src_dir/src/gallium/drivers/radeonsi/driinfo_radeonsi.h \ |
8 |
8 |
>$build_dir/src/gallium/drivers/radeonsi/si_driinfo.h |
>$build_dir/src/gallium/drivers/radeonsi/si_driinfo.h |
9 |
9 |
unset PYTHONPATH |
unset PYTHONPATH |
10 |
10 |
|
|
|
11 |
|
export PYTHONPATH=$mako |
|
12 |
|
$python3 $src_dir/src/gallium/drivers/radeonsi/gfx10_format_table.py \ |
|
13 |
|
$src_dir/src/gallium/auxiliary/util/u_format.csv \ |
|
14 |
|
$src_dir/src/amd/registers/gfx10-rsrc.json \ |
|
15 |
|
>$build_dir/src/gallium/drivers/radeonsi/gfx10_format_table.h |
|
16 |
|
unset PYTHONPATH |
|
17 |
|
|
11 |
18 |
#------------------------------------------------------------------------------- |
#------------------------------------------------------------------------------- |
12 |
19 |
|
|
13 |
20 |
# do remove the radeonsi pipe loader fallback from (amdgpu/drm winsys) to |
# do remove the radeonsi pipe loader fallback from (amdgpu/drm winsys) to |
|
... |
... |
cp -f $src_dir/src/gallium/drivers/radeonsi/si_pipe.c $build_dir/src/gallium/dri |
17 |
24 |
patch -i $script_dir/si_pipe.c.patch $build_dir/src/gallium/drivers/radeonsi/si_pipe.c |
patch -i $script_dir/si_pipe.c.patch $build_dir/src/gallium/drivers/radeonsi/si_pipe.c |
18 |
25 |
|
|
19 |
26 |
libradeonsi_files="\ |
libradeonsi_files="\ |
|
27 |
|
$src_dir/src/gallium/drivers/radeonsi/gfx10_query.c \ |
|
28 |
|
$src_dir/src/gallium/drivers/radeonsi/gfx10_shader_ngg.c \ |
|
29 |
|
\ |
20 |
30 |
$src_dir/src/gallium/drivers/radeonsi/cik_sdma.c \ |
$src_dir/src/gallium/drivers/radeonsi/cik_sdma.c \ |
21 |
31 |
$src_dir/src/gallium/drivers/radeonsi/si_blit.c \ |
$src_dir/src/gallium/drivers/radeonsi/si_blit.c \ |
22 |
32 |
$src_dir/src/gallium/drivers/radeonsi/si_buffer.c \ |
$src_dir/src/gallium/drivers/radeonsi/si_buffer.c \ |
|
... |
... |
$src_dir/src/gallium/drivers/radeonsi/si_uvd.c \ |
57 |
67 |
\ |
\ |
58 |
68 |
$src_dir/src/gallium/drivers/radeon/radeon_uvd.c \ |
$src_dir/src/gallium/drivers/radeon/radeon_uvd.c \ |
59 |
69 |
$src_dir/src/gallium/drivers/radeon/radeon_vcn_enc_1_2.c \ |
$src_dir/src/gallium/drivers/radeon/radeon_vcn_enc_1_2.c \ |
|
70 |
|
$src_dir/src/gallium/drivers/radeon/radeon_vcn_enc_2_0.c \ |
60 |
71 |
$src_dir/src/gallium/drivers/radeon/radeon_vcn_enc.c \ |
$src_dir/src/gallium/drivers/radeon/radeon_vcn_enc.c \ |
61 |
72 |
$src_dir/src/gallium/drivers/radeon/radeon_vcn_dec_jpeg.c \ |
$src_dir/src/gallium/drivers/radeon/radeon_vcn_dec_jpeg.c \ |
62 |
73 |
$src_dir/src/gallium/drivers/radeon/radeon_vcn_dec.c \ |
$src_dir/src/gallium/drivers/radeon/radeon_vcn_dec.c \ |
|
... |
... |
do |
82 |
93 |
libradeonsi_a="$libradeonsi_a $libradeonsi_obj" |
libradeonsi_a="$libradeonsi_a $libradeonsi_obj" |
83 |
94 |
|
|
84 |
95 |
$cco_slib -o $libradeonsi_obj $f \ |
$cco_slib -o $libradeonsi_obj $f \ |
|
96 |
|
-I$build_dir/src/gallium/drivers/radeonsi \ |
85 |
97 |
-I$build_dir/src/amd \ |
-I$build_dir/src/amd \ |
86 |
98 |
-I$build_dir/src/compiler/nir \ |
-I$build_dir/src/compiler/nir \ |
87 |
99 |
-I$src_dir/src/amd/common \ |
-I$src_dir/src/amd/common \ |
File builders/mesa-vulkan-1/contrib/generators/nir/nir_database_intrinsic.c changed (mode: 100644) (index 3bcc05f..0bbf51b) |
... |
... |
static struct nir_intrinsic nir_load_blend_const_color_rgba8888_unorm = { |
1763 |
1763 |
.flags = NIR_INTRINSIC_FLAGS_CAN_ELIMINATE | NIR_INTRINSIC_FLAGS_CAN_REORDER, |
.flags = NIR_INTRINSIC_FLAGS_CAN_ELIMINATE | NIR_INTRINSIC_FLAGS_CAN_REORDER, |
1764 |
1764 |
.system_value = true |
.system_value = true |
1765 |
1765 |
}; |
}; |
|
1766 |
|
|
|
1767 |
|
/******************************************************************************/ |
|
1768 |
|
/* |
|
1769 |
|
* System values for gl_Color, for radeonsi which interpolates these in the |
|
1770 |
|
* shader prolog to handle two-sided color without recompiles and therefore |
|
1771 |
|
* doesn't handle these in the main shader part like normal varyings. |
|
1772 |
|
*/ |
|
1773 |
|
static struct nir_intrinsic nir_load_color0 = { |
|
1774 |
|
.name = "load_color0", |
|
1775 |
|
.has_dest = true, |
|
1776 |
|
.dest_components_n = 4, |
|
1777 |
|
.bit_szs = 0x20, |
|
1778 |
|
.flags = NIR_INTRINSIC_FLAGS_CAN_ELIMINATE | NIR_INTRINSIC_FLAGS_CAN_REORDER, |
|
1779 |
|
.system_value = true |
|
1780 |
|
}; |
|
1781 |
|
static struct nir_intrinsic nir_load_color1 = { |
|
1782 |
|
.name = "load_color1", |
|
1783 |
|
.has_dest = true, |
|
1784 |
|
.dest_components_n = 4, |
|
1785 |
|
.bit_szs = 0x20, |
|
1786 |
|
.flags = NIR_INTRINSIC_FLAGS_CAN_ELIMINATE | NIR_INTRINSIC_FLAGS_CAN_REORDER, |
|
1787 |
|
.system_value = true |
|
1788 |
|
}; |
|
1789 |
|
/* system color0 and system color1 */ |
|
1790 |
|
/******************************************************************************/ |
1766 |
1791 |
struct nir_intrinsic nir_load_deref = { |
struct nir_intrinsic nir_load_deref = { |
1767 |
1792 |
.name = "load_deref", |
.name = "load_deref", |
1768 |
1793 |
.srcs_n = 1, |
.srcs_n = 1, |
|
... |
... |
struct nir_intrinsic nir_load_size_ir3 = { |
1833 |
1858 |
.dest_components_n = 1, |
.dest_components_n = 1, |
1834 |
1859 |
.flags = NIR_INTRINSIC_FLAGS_CAN_ELIMINATE | NIR_INTRINSIC_FLAGS_CAN_REORDER |
.flags = NIR_INTRINSIC_FLAGS_CAN_ELIMINATE | NIR_INTRINSIC_FLAGS_CAN_REORDER |
1835 |
1860 |
}; |
}; |
|
1861 |
|
|
|
1862 |
|
/* |
|
1863 |
|
* Fragment shader input interpolation delta intrinsic. |
|
1864 |
|
* |
|
1865 |
|
* For hw where fragment shader input interpolation is handled in shader, the |
|
1866 |
|
* load_fs_input_interp deltas intrinsics can be used to load the input deltas |
|
1867 |
|
* used for interpolation as follows: |
|
1868 |
|
* |
|
1869 |
|
* vec3 iid = load_fs_input_interp_deltas(varying_slot) |
|
1870 |
|
* vec2 bary = load_barycentric_*(...) |
|
1871 |
|
* float result = iid.x + iid.y * bary.y + iid.z * bary.x |
|
1872 |
|
*/ |
|
1873 |
|
struct nir_intrinsic nir_load_fs_input_interp_deltas = { |
|
1874 |
|
.name = "load_fs_input_interp_deltas", |
|
1875 |
|
.srcs_n = 1, |
|
1876 |
|
.src_components_n = { |
|
1877 |
|
1 |
|
1878 |
|
}, |
|
1879 |
|
.has_dest = true, |
|
1880 |
|
.dest_components_n = 3, |
|
1881 |
|
.idxs_n = 2, |
|
1882 |
|
.idxs_map = { |
|
1883 |
|
[NIR_INTRINSIC_IDX_BASE] = 1, |
|
1884 |
|
[NIR_INTRINSIC_IDX_COMPONENT] = 2 |
|
1885 |
|
}, |
|
1886 |
|
.flags = NIR_INTRINSIC_FLAGS_CAN_ELIMINATE | NIR_INTRINSIC_FLAGS_CAN_REORDER |
|
1887 |
|
}; |
1836 |
1888 |
/******************************************************************************/ |
/******************************************************************************/ |
1837 |
1889 |
/* |
/* |
1838 |
1890 |
* Load operations pull data from some piece of GPU memory. All load |
* Load operations pull data from some piece of GPU memory. All load |
|
... |
... |
struct nir_intrinsic nir_mbcnt_amd = { |
3311 |
3363 |
}; |
}; |
3312 |
3364 |
/* AMD Shader ballot operations */ |
/* AMD Shader ballot operations */ |
3313 |
3365 |
/******************************************************************************/ |
/******************************************************************************/ |
|
3366 |
|
|
|
3367 |
|
/******************************************************************************/ |
|
3368 |
|
/* |
|
3369 |
|
* Demote fragment shader invocation to a helper invocation. Any stores to |
|
3370 |
|
* memory after this instruction are suppressed and the fragment does not write |
|
3371 |
|
* outputs to the framebuffer. Unlike discard, demote needs to ensure that |
|
3372 |
|
* derivatives will still work for invocations that were not demoted. |
|
3373 |
|
* |
|
3374 |
|
* As specified by SPV_EXT_demote_to_helper_invocation. |
|
3375 |
|
*/ |
|
3376 |
|
struct nir_intrinsic nir_demote = { |
|
3377 |
|
.name = "demote" |
|
3378 |
|
}; |
|
3379 |
|
struct nir_intrinsic nir_is_helper_invocation= { |
|
3380 |
|
.name = "is_helper_invocation", |
|
3381 |
|
.has_dest = true, |
|
3382 |
|
.dest_components_n = 1, |
|
3383 |
|
.flags = NIR_INTRINSIC_FLAGS_CAN_ELIMINATE |
|
3384 |
|
}; |
|
3385 |
|
/* Demote related */ |
|
3386 |
|
/******************************************************************************/ |
|
3387 |
|
|
|
3388 |
|
/******************************************************************************/ |
|
3389 |
|
/* |
|
3390 |
|
* Intrinsics used by the Midgard/Bifrost blend pipeline. These are defined |
|
3391 |
|
* within a blend shader to read/write the raw value from the tile buffer, |
|
3392 |
|
* without applying any format conversion in the process. If the shader needs |
|
3393 |
|
* usable pixel values, it must apply format conversions itself. |
|
3394 |
|
* |
|
3395 |
|
* These definitions are generic, but they are explicitly vendored to prevent |
|
3396 |
|
* other drivers from using them, as their semantics is defined in terms of the |
|
3397 |
|
* Midgard/Bifrost hardware tile buffer and may not line up with anything sane. |
|
3398 |
|
* One notable divergence is sRGB, which is asymmetric: raw_input_pan requires |
|
3399 |
|
* an sRGB->linear conversion, but linear values should be written to |
|
3400 |
|
* raw_output_pan and the hardware handles linear->sRGB. |
|
3401 |
|
*/ |
|
3402 |
|
|
|
3403 |
|
/* src[] = { value } */ |
|
3404 |
|
struct nir_intrinsic nir_store_raw_output_pan = { |
|
3405 |
|
.name = "store_raw_output_pan", |
|
3406 |
|
.srcs_n = 1, |
|
3407 |
|
.src_components_n = { |
|
3408 |
|
0 |
|
3409 |
|
} |
|
3410 |
|
}; |
|
3411 |
|
struct nir_intrinsic nir_load_raw_output_pan = { |
|
3412 |
|
.name = "load_raw_output_pan", |
|
3413 |
|
.has_dest = true, |
|
3414 |
|
.flags = NIR_INTRINSIC_FLAGS_CAN_ELIMINATE | NIR_INTRINSIC_FLAGS_CAN_REORDER |
|
3415 |
|
}; |
|
3416 |
|
/* |
|
3417 |
|
* V3D-specific instrinc for tile buffer color reads. |
|
3418 |
|
* |
|
3419 |
|
* The hardware requires that we read the samples and components of a pixel |
|
3420 |
|
* in order, so we cannot eliminate or remove any loads in a sequence. |
|
3421 |
|
* |
|
3422 |
|
* src[] = { render_target } |
|
3423 |
|
* BASE = sample index |
|
3424 |
|
*/ |
|
3425 |
|
struct nir_intrinsic nir_load_tlb_color_v3d = { |
|
3426 |
|
.name = "load_tlb_color_v3d", |
|
3427 |
|
.srcs_n = 1, |
|
3428 |
|
.src_components_n = { |
|
3429 |
|
1 |
|
3430 |
|
}, |
|
3431 |
|
.has_dest = true, |
|
3432 |
|
.idxs_n = 2, |
|
3433 |
|
.idxs_map = { |
|
3434 |
|
[NIR_INTRINSIC_IDX_BASE] = 1, |
|
3435 |
|
[NIR_INTRINSIC_IDX_COMPONENT] = 2, |
|
3436 |
|
} |
|
3437 |
|
}; |
3314 |
3438 |
/*----------------------------------------------------------------------------*/ |
/*----------------------------------------------------------------------------*/ |
3315 |
3439 |
|
|
3316 |
3440 |
struct nir_intrinsic *nir_intrinsics[] = { |
struct nir_intrinsic *nir_intrinsics[] = { |
|
... |
... |
struct nir_intrinsic *nir_intrinsics[] = { |
3597 |
3721 |
&nir_load_size_ir3, |
&nir_load_size_ir3, |
3598 |
3722 |
/* git 07745f94948874c875dac924e055a11ee96beb5b..974c4d679c23373dbed386c696e3e3bc1bfa23ae */ |
/* git 07745f94948874c875dac924e055a11ee96beb5b..974c4d679c23373dbed386c696e3e3bc1bfa23ae */ |
3599 |
3723 |
&nir_load_blend_const_color_rgb, |
&nir_load_blend_const_color_rgb, |
3600 |
|
/* git e9703fb4162e85943c52b6559d3554b521125da4..1a7caac9e96f5ef5600edcaf982c5e113c3e62fd */ |
|
|
3724 |
|
/* git e9703fb4162e85943c52b6559d3554b521125da4..1a7caac9e96f5ef5600edcaf982c5e113c3e62fd */ |
3601 |
3725 |
&nir_quad_swizzle_amd, |
&nir_quad_swizzle_amd, |
3602 |
3726 |
&nir_masked_swizzle_amd, |
&nir_masked_swizzle_amd, |
3603 |
3727 |
&nir_write_invocation_amd, |
&nir_write_invocation_amd, |
3604 |
|
&nir_mbcnt_amd |
|
|
3728 |
|
&nir_mbcnt_amd, |
|
3729 |
|
/* git 8d74749f812e64968d37266061293e204fea252c..9b116173b6a5e96c54ef3962546aabd505e00cfb */ |
|
3730 |
|
&nir_load_color0, |
|
3731 |
|
&nir_load_color1, |
|
3732 |
|
&nir_load_fs_input_interp_deltas, |
|
3733 |
|
/* git 9b116173b6a5e96c54ef3962546aabd505e00cfb..7a19e05e8c84152af3a15868f5ef781142ac8e23 */ |
|
3734 |
|
&nir_demote, |
|
3735 |
|
&nir_is_helper_invocation, |
|
3736 |
|
&nir_store_raw_output_pan, |
|
3737 |
|
&nir_load_raw_output_pan, |
|
3738 |
|
&nir_load_tlb_color_v3d |
3605 |
3739 |
}; |
}; |
File builders/mesa-vulkan-1/contrib/x86_64_amdgpu_linux_gnu_vulkan_x11_drm_gcc.sh changed (mode: 100755) (index 2fb7d30..bb60606) |
... |
... |
libLLVMMCParser.a:\ |
446 |
446 |
libLLVMDemangle.a:\ |
libLLVMDemangle.a:\ |
447 |
447 |
libLLVMCoverage.a:\ |
libLLVMCoverage.a:\ |
448 |
448 |
libLLVMBitReader.a:\ |
libLLVMBitReader.a:\ |
|
449 |
|
libLLVMBitstreamReader.a:\ |
449 |
450 |
libLLVMWindowsManifest.a:\ |
libLLVMWindowsManifest.a:\ |
450 |
451 |
libLLVMDebugInfoPDB.a:\ |
libLLVMDebugInfoPDB.a:\ |
451 |
452 |
libLLVMDebugInfoDWARF.a:\ |
libLLVMDebugInfoDWARF.a:\ |
|
... |
... |
llvm_ldflags="\ |
510 |
511 |
/nyan/llvm/current/lib/libLLVMDemangle.a \ |
/nyan/llvm/current/lib/libLLVMDemangle.a \ |
511 |
512 |
/nyan/llvm/current/lib/libLLVMCoverage.a \ |
/nyan/llvm/current/lib/libLLVMCoverage.a \ |
512 |
513 |
/nyan/llvm/current/lib/libLLVMBitReader.a \ |
/nyan/llvm/current/lib/libLLVMBitReader.a \ |
|
514 |
|
/nyan/llvm/current/lib/libLLVMBitstreamReader.a \ |
513 |
515 |
/nyan/llvm/current/lib/libLLVMWindowsManifest.a \ |
/nyan/llvm/current/lib/libLLVMWindowsManifest.a \ |
514 |
516 |
/nyan/llvm/current/lib/libLLVMDebugInfoPDB.a \ |
/nyan/llvm/current/lib/libLLVMDebugInfoPDB.a \ |
515 |
517 |
/nyan/llvm/current/lib/libLLVMDebugInfoDWARF.a \ |
/nyan/llvm/current/lib/libLLVMDebugInfoDWARF.a \ |
|
... |
... |
$python3 $src_dir/src/amd/common/sid_tables.py \ |
656 |
658 |
$src_dir/src/amd/common/sid.h \ |
$src_dir/src/amd/common/sid.h \ |
657 |
659 |
$src_dir/src/amd/registers/amdgfxregs.json \ |
$src_dir/src/amd/registers/amdgfxregs.json \ |
658 |
660 |
$src_dir/src/amd/registers/pkt3.json \ |
$src_dir/src/amd/registers/pkt3.json \ |
|
661 |
|
$src_dir/src/amd/registers/gfx10.json \ |
|
662 |
|
$src_dir/src/amd/registers/gfx10-rsrc.json \ |
659 |
663 |
>$build_dir/sid_tables.h & |
>$build_dir/sid_tables.h & |
660 |
664 |
|
|
661 |
665 |
$python3 $src_dir/src/amd/registers/makeregheader.py \ |
$python3 $src_dir/src/amd/registers/makeregheader.py \ |
662 |
666 |
$src_dir/src/amd/registers/amdgfxregs.json \ |
$src_dir/src/amd/registers/amdgfxregs.json \ |
663 |
667 |
$src_dir/src/amd/registers/pkt3.json \ |
$src_dir/src/amd/registers/pkt3.json \ |
|
668 |
|
$src_dir/src/amd/registers/gfx10.json \ |
|
669 |
|
$src_dir/src/amd/registers/gfx10-rsrc.json \ |
664 |
670 |
--sort address \ |
--sort address \ |
665 |
671 |
--guard AMDGFXREGS_H \ |
--guard AMDGFXREGS_H \ |
666 |
672 |
>$build_dir/amdgfxregs.h & |
>$build_dir/amdgfxregs.h & |
|
... |
... |
$ar $build_dir/libamd_common.a $libamd_common_a |
752 |
758 |
# addrlib (similar c++ pile of cr*p than llvm, everything c++ is anyway) |
# addrlib (similar c++ pile of cr*p than llvm, everything c++ is anyway) |
753 |
759 |
cppflags="\ |
cppflags="\ |
754 |
760 |
$cppflags_common \ |
$cppflags_common \ |
|
761 |
|
-I$src_dir/src/amd/addrlib/inc/chip/gfx10 \ |
755 |
762 |
-I$src_dir/src/amd/addrlib/inc/chip/gfx9 \ |
-I$src_dir/src/amd/addrlib/inc/chip/gfx9 \ |
756 |
763 |
-I$src_dir/src/amd/addrlib/inc/chip/r800 \ |
-I$src_dir/src/amd/addrlib/inc/chip/r800 \ |
757 |
764 |
-I$src_dir/src/amd/addrlib/inc \ |
-I$src_dir/src/amd/addrlib/inc \ |
758 |
765 |
-I$src_dir/src/amd/addrlib/src/core \ |
-I$src_dir/src/amd/addrlib/src/core \ |
|
766 |
|
-I$src_dir/src/amd/addrlib/src/chip/gfx10 \ |
759 |
767 |
-I$src_dir/src/amd/addrlib/src/chip/gfx9 \ |
-I$src_dir/src/amd/addrlib/src/chip/gfx9 \ |
760 |
768 |
-I$src_dir/src/amd/addrlib/src/chip/r800 \ |
-I$src_dir/src/amd/addrlib/src/chip/r800 \ |
761 |
769 |
-I$src_dir/src/amd/addrlib/src \ |
-I$src_dir/src/amd/addrlib/src \ |
|
... |
... |
$src_dir/src/amd/addrlib/src/core/addrlib1.cpp \ |
771 |
779 |
$src_dir/src/amd/addrlib/src/core/addrlib2.cpp \ |
$src_dir/src/amd/addrlib/src/core/addrlib2.cpp \ |
772 |
780 |
$src_dir/src/amd/addrlib/src/core/addrobject.cpp \ |
$src_dir/src/amd/addrlib/src/core/addrobject.cpp \ |
773 |
781 |
$src_dir/src/amd/addrlib/src/core/coord.cpp \ |
$src_dir/src/amd/addrlib/src/core/coord.cpp \ |
|
782 |
|
$src_dir/src/amd/addrlib/src/gfx10/gfx10addrlib.cpp \ |
774 |
783 |
$src_dir/src/amd/addrlib/src/gfx9/gfx9addrlib.cpp \ |
$src_dir/src/amd/addrlib/src/gfx9/gfx9addrlib.cpp \ |
775 |
784 |
$src_dir/src/amd/addrlib/src/r800/ciaddrlib.cpp \ |
$src_dir/src/amd/addrlib/src/r800/ciaddrlib.cpp \ |
776 |
785 |
$src_dir/src/amd/addrlib/src/r800/egbaddrlib.cpp \ |
$src_dir/src/amd/addrlib/src/r800/egbaddrlib.cpp \ |
|
... |
... |
$src_dir/src/compiler/nir/nir_lower_load_const_to_scalar.c \ |
934 |
943 |
$src_dir/src/compiler/nir/nir_lower_locals_to_regs.c \ |
$src_dir/src/compiler/nir/nir_lower_locals_to_regs.c \ |
935 |
944 |
$src_dir/src/compiler/nir/nir_lower_idiv.c \ |
$src_dir/src/compiler/nir/nir_lower_idiv.c \ |
936 |
945 |
$src_dir/src/compiler/nir/nir_lower_indirect_derefs.c \ |
$src_dir/src/compiler/nir/nir_lower_indirect_derefs.c \ |
|
946 |
|
$src_dir/src/compiler/nir/nir_lower_input_attachments.c \ |
937 |
947 |
$src_dir/src/compiler/nir/nir_lower_int64.c \ |
$src_dir/src/compiler/nir/nir_lower_int64.c \ |
938 |
948 |
$src_dir/src/compiler/nir/nir_lower_int_to_float.c \ |
$src_dir/src/compiler/nir/nir_lower_int_to_float.c \ |
|
949 |
|
$src_dir/src/compiler/nir/nir_lower_interpolation.c \ |
939 |
950 |
$src_dir/src/compiler/nir/nir_lower_io.c \ |
$src_dir/src/compiler/nir/nir_lower_io.c \ |
940 |
951 |
$src_dir/src/compiler/nir/nir_lower_io_arrays_to_elements.c \ |
$src_dir/src/compiler/nir/nir_lower_io_arrays_to_elements.c \ |
941 |
952 |
$src_dir/src/compiler/nir/nir_lower_io_to_temporaries.c \ |
$src_dir/src/compiler/nir/nir_lower_io_to_temporaries.c \ |
|
... |
... |
$python3 $src_dir/src/amd/vulkan/vk_format_table.py \ |
1105 |
1116 |
$src_dir/src/amd/vulkan/vk_format_layout.csv \ |
$src_dir/src/amd/vulkan/vk_format_layout.csv \ |
1106 |
1117 |
>$build_dir/vk_format_table.c & |
>$build_dir/vk_format_table.c & |
1107 |
1118 |
#------------------------------------------------------------------------------ |
#------------------------------------------------------------------------------ |
|
1119 |
|
$python3 $src_dir/src/amd/vulkan/gfx10_format_table.py \ |
|
1120 |
|
$src_dir/src/amd/vulkan/vk_format_layout.csv \ |
|
1121 |
|
$src_dir/src/amd/registers/gfx10-rsrc.json \ |
|
1122 |
|
>$build_dir/gfx10_format_table.h & |
|
1123 |
|
#------------------------------------------------------------------------------ |
1108 |
1124 |
unset PYTHONPATH |
unset PYTHONPATH |
1109 |
1125 |
#------------------------------------------------------------------------------ |
#------------------------------------------------------------------------------ |
1110 |
1126 |
git_sha1=no_git_sha1_available |
git_sha1=no_git_sha1_available |