File builders/mesa-gl-1/contrib/compiler_nir.sh changed (mode: 100644) (index 512fbb4..52e40cf) |
... |
... |
$src_dir/src/compiler/nir/nir_lower_patch_vertices.c \ |
92 |
92 |
$src_dir/src/compiler/nir/nir_lower_phis_to_scalar.c \ |
$src_dir/src/compiler/nir/nir_lower_phis_to_scalar.c \ |
93 |
93 |
$src_dir/src/compiler/nir/nir_lower_regs_to_ssa.c \ |
$src_dir/src/compiler/nir/nir_lower_regs_to_ssa.c \ |
94 |
94 |
$src_dir/src/compiler/nir/nir_lower_returns.c \ |
$src_dir/src/compiler/nir/nir_lower_returns.c \ |
95 |
|
$src_dir/src/compiler/nir/nir_lower_sincos.c \ |
|
96 |
95 |
$src_dir/src/compiler/nir/nir_lower_scratch.c \ |
$src_dir/src/compiler/nir/nir_lower_scratch.c \ |
97 |
96 |
$src_dir/src/compiler/nir/nir_lower_subgroups.c \ |
$src_dir/src/compiler/nir/nir_lower_subgroups.c \ |
98 |
97 |
$src_dir/src/compiler/nir/nir_lower_system_values.c \ |
$src_dir/src/compiler/nir/nir_lower_system_values.c \ |
File builders/mesa-gl-1/contrib/mesa.sh changed (mode: 100644) (index 9cebf32..8dde26d) |
... |
... |
$src_dir/src/mesa/main/shaderapi.c \ |
178 |
178 |
$src_dir/src/mesa/main/shaderimage.c \ |
$src_dir/src/mesa/main/shaderimage.c \ |
179 |
179 |
$src_dir/src/mesa/main/shaderobj.c \ |
$src_dir/src/mesa/main/shaderobj.c \ |
180 |
180 |
$src_dir/src/mesa/main/shared.c \ |
$src_dir/src/mesa/main/shared.c \ |
|
181 |
|
$src_dir/src/mesa/main/spirv_extensions.c \ |
181 |
182 |
$src_dir/src/mesa/main/state.c \ |
$src_dir/src/mesa/main/state.c \ |
182 |
183 |
$src_dir/src/mesa/main/stencil.c \ |
$src_dir/src/mesa/main/stencil.c \ |
183 |
184 |
$src_dir/src/mesa/main/syncobj.c \ |
$src_dir/src/mesa/main/syncobj.c \ |
File builders/mesa-vulkan-1/contrib/generators/nir/nir_database_intrinsic.c changed (mode: 100644) (index 0bbf51b..ef4e286) |
... |
... |
struct nir_intrinsic nir_deref_atomic_xor = { |
584 |
584 |
struct nir_intrinsic nir_discard = { |
struct nir_intrinsic nir_discard = { |
585 |
585 |
.name = "discard" |
.name = "discard" |
586 |
586 |
}; |
}; |
|
587 |
|
|
|
588 |
|
/******************************************************************************/ |
|
589 |
|
/* A conditional discard/demote, with a single boolean source. */ |
587 |
590 |
struct nir_intrinsic nir_discard_if = { |
struct nir_intrinsic nir_discard_if = { |
588 |
591 |
.name = "discard_if", |
.name = "discard_if", |
589 |
592 |
.srcs_n = 1, |
.srcs_n = 1, |
|
... |
... |
struct nir_intrinsic nir_discard_if = { |
591 |
594 |
1 |
1 |
592 |
595 |
} |
} |
593 |
596 |
}; |
}; |
|
597 |
|
struct nir_intrinsic nir_demote_if = { |
|
598 |
|
.name = "demote_if", |
|
599 |
|
.srcs_n = 1, |
|
600 |
|
.src_components_n = { |
|
601 |
|
1 |
|
602 |
|
} |
|
603 |
|
}; |
|
604 |
|
/******************************************************************************/ |
594 |
605 |
struct nir_intrinsic nir_elect = { |
struct nir_intrinsic nir_elect = { |
595 |
606 |
.name = "elect", |
.name = "elect", |
596 |
607 |
.has_dest = true, |
.has_dest = true, |
|
... |
... |
static struct nir_intrinsic nir_load_frag_coord = { |
1825 |
1836 |
.flags = NIR_INTRINSIC_FLAGS_CAN_ELIMINATE | NIR_INTRINSIC_FLAGS_CAN_REORDER, |
.flags = NIR_INTRINSIC_FLAGS_CAN_ELIMINATE | NIR_INTRINSIC_FLAGS_CAN_REORDER, |
1826 |
1837 |
.system_value = true |
.system_value = true |
1827 |
1838 |
}; |
}; |
|
1839 |
|
static struct nir_intrinsic nir_load_point_coord = { |
|
1840 |
|
.name = "load_point_coord", |
|
1841 |
|
.has_dest = true, |
|
1842 |
|
.dest_components_n = 2, |
|
1843 |
|
.bit_szs = 0x20, |
|
1844 |
|
.flags = NIR_INTRINSIC_FLAGS_CAN_ELIMINATE | NIR_INTRINSIC_FLAGS_CAN_REORDER, |
|
1845 |
|
.system_value = true |
|
1846 |
|
}; |
1828 |
1847 |
static struct nir_intrinsic nir_load_front_face = { |
static struct nir_intrinsic nir_load_front_face = { |
1829 |
1848 |
.name = "load_front_face", |
.name = "load_front_face", |
1830 |
1849 |
.has_dest = true, |
.has_dest = true, |
|
... |
... |
struct nir_intrinsic nir_load_raw_output_pan = { |
3413 |
3432 |
.has_dest = true, |
.has_dest = true, |
3414 |
3433 |
.flags = NIR_INTRINSIC_FLAGS_CAN_ELIMINATE | NIR_INTRINSIC_FLAGS_CAN_REORDER |
.flags = NIR_INTRINSIC_FLAGS_CAN_ELIMINATE | NIR_INTRINSIC_FLAGS_CAN_REORDER |
3415 |
3434 |
}; |
}; |
|
3435 |
|
|
|
3436 |
|
/******************************************************************************/ |
3416 |
3437 |
/* |
/* |
3417 |
3438 |
* V3D-specific instrinc for tile buffer color reads. |
* V3D-specific instrinc for tile buffer color reads. |
3418 |
3439 |
* |
* |
|
... |
... |
struct nir_intrinsic nir_load_tlb_color_v3d = { |
3435 |
3456 |
[NIR_INTRINSIC_IDX_COMPONENT] = 2, |
[NIR_INTRINSIC_IDX_COMPONENT] = 2, |
3436 |
3457 |
} |
} |
3437 |
3458 |
}; |
}; |
|
3459 |
|
|
|
3460 |
|
/* |
|
3461 |
|
* V3D-specific instrinc for per-sample tile buffer color writes. |
|
3462 |
|
* |
|
3463 |
|
* The driver backend needs to identify per-sample color writes and emit |
|
3464 |
|
* specific code for them. |
|
3465 |
|
* |
|
3466 |
|
* src[] = { value, render_target } |
|
3467 |
|
* BASE = sample index |
|
3468 |
|
*/ |
|
3469 |
|
struct nir_intrinsic nir_store_tlb_sample_color_v3d = { |
|
3470 |
|
.name = "store_tlb_sample_color_v3d", |
|
3471 |
|
.srcs_n = 2, |
|
3472 |
|
.src_components_n = { |
|
3473 |
|
0,1 |
|
3474 |
|
}, |
|
3475 |
|
.idxs_n = 3, |
|
3476 |
|
.idxs_map = { |
|
3477 |
|
[NIR_INTRINSIC_IDX_BASE] = 1, |
|
3478 |
|
[NIR_INTRINSIC_IDX_COMPONENT] = 2, |
|
3479 |
|
[NIR_INTRINSIC_IDX_TYPE] = 3 |
|
3480 |
|
} |
|
3481 |
|
}; |
|
3482 |
|
/* v3d */ |
|
3483 |
|
/******************************************************************************/ |
3438 |
3484 |
/*----------------------------------------------------------------------------*/ |
/*----------------------------------------------------------------------------*/ |
3439 |
3485 |
|
|
3440 |
3486 |
struct nir_intrinsic *nir_intrinsics[] = { |
struct nir_intrinsic *nir_intrinsics[] = { |
|
... |
... |
struct nir_intrinsic *nir_intrinsics[] = { |
3735 |
3781 |
&nir_is_helper_invocation, |
&nir_is_helper_invocation, |
3736 |
3782 |
&nir_store_raw_output_pan, |
&nir_store_raw_output_pan, |
3737 |
3783 |
&nir_load_raw_output_pan, |
&nir_load_raw_output_pan, |
3738 |
|
&nir_load_tlb_color_v3d |
|
|
3784 |
|
&nir_load_tlb_color_v3d, |
|
3785 |
|
/* git 7a19e05e8c84152af3a15868f5ef781142ac8e23..f7224014df0d366453739356b9968ca94ad43979 */ |
|
3786 |
|
&nir_load_point_coord, |
|
3787 |
|
&nir_store_tlb_sample_color_v3d, |
|
3788 |
|
/* git f7224014df0d366453739356b9968ca94ad43979..de17922b8a3c382cf89833cf8975cadc00142313 */ |
|
3789 |
|
&nir_demote_if |
3739 |
3790 |
}; |
}; |
File builders/mesa-vulkan-1/contrib/x86_64_amdgpu_linux_gnu_vulkan_x11_drm_gcc.sh changed (mode: 100755) (index bb60606..03d0cb1) |
... |
... |
$src_dir/src/compiler/nir/nir_lower_phis_to_scalar.c \ |
960 |
960 |
$src_dir/src/compiler/nir/nir_lower_regs_to_ssa.c \ |
$src_dir/src/compiler/nir/nir_lower_regs_to_ssa.c \ |
961 |
961 |
$src_dir/src/compiler/nir/nir_lower_returns.c \ |
$src_dir/src/compiler/nir/nir_lower_returns.c \ |
962 |
962 |
$src_dir/src/compiler/nir/nir_lower_scratch.c \ |
$src_dir/src/compiler/nir/nir_lower_scratch.c \ |
963 |
|
$src_dir/src/compiler/nir/nir_lower_sincos.c \ |
|
964 |
963 |
$src_dir/src/compiler/nir/nir_lower_subgroups.c \ |
$src_dir/src/compiler/nir/nir_lower_subgroups.c \ |
965 |
964 |
$src_dir/src/compiler/nir/nir_lower_system_values.c \ |
$src_dir/src/compiler/nir/nir_lower_system_values.c \ |
966 |
965 |
$src_dir/src/compiler/nir/nir_lower_tex.c \ |
$src_dir/src/compiler/nir/nir_lower_tex.c \ |