Module: Mesa Branch: main Commit: 3384f029be7e58b9c81b96c1a6250412acf41f6f URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3384f029be7e58b9c81b96c1a6250412acf41f6f
Author: Lionel Landwerlin <[email protected]> Date: Fri Jul 14 02:10:20 2023 +0300 intel/compiler: rework input parameters Use a struct for various common parameters rather than per stage structure or arguments to stage specific entrypoints. Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Felix DeGrood <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23942> --- src/gallium/drivers/crocus/crocus_program.c | 67 +++++++----- src/gallium/drivers/iris/iris_program.c | 67 +++++++----- src/intel/blorp/blorp.c | 35 +++--- src/intel/compiler/brw_compiler.h | 102 ++++-------------- src/intel/compiler/brw_fs.cpp | 119 +++++++++++---------- src/intel/compiler/brw_fs.h | 14 +-- src/intel/compiler/brw_fs_generator.cpp | 10 +- src/intel/compiler/brw_fs_visitor.cpp | 15 ++- src/intel/compiler/brw_kernel.c | 13 ++- src/intel/compiler/brw_mesh.cpp | 66 ++++++------ src/intel/compiler/brw_shader.cpp | 37 +++---- src/intel/compiler/brw_shader.h | 3 +- src/intel/compiler/brw_vec4.cpp | 33 +++--- src/intel/compiler/brw_vec4.h | 9 +- src/intel/compiler/brw_vec4_generator.cpp | 13 ++- src/intel/compiler/brw_vec4_gs_visitor.cpp | 46 ++++---- src/intel/compiler/brw_vec4_gs_visitor.h | 3 +- src/intel/compiler/brw_vec4_tcs.cpp | 34 +++--- src/intel/compiler/brw_vec4_tcs.h | 3 +- src/intel/compiler/brw_vec4_tes.cpp | 7 +- src/intel/compiler/brw_vec4_tes.h | 3 +- src/intel/compiler/brw_vec4_visitor.cpp | 6 +- src/intel/compiler/brw_vec4_vs.h | 3 +- src/intel/compiler/brw_vec4_vs_visitor.cpp | 7 +- src/intel/compiler/gfx6_gs_visitor.h | 6 +- src/intel/compiler/test_fs_cmod_propagation.cpp | 10 +- src/intel/compiler/test_fs_copy_propagation.cpp | 10 +- .../compiler/test_fs_saturate_propagation.cpp | 10 +- src/intel/compiler/test_fs_scoreboard.cpp | 6 +- src/intel/compiler/test_vec4_cmod_propagation.cpp | 10 +- src/intel/compiler/test_vec4_copy_propagation.cpp | 10 +- .../compiler/test_vec4_dead_code_eliminate.cpp | 10 +- src/intel/compiler/test_vec4_register_coalesce.cpp | 10 +- src/intel/vulkan/anv_internal_kernels.c | 24 +++-- src/intel/vulkan/anv_pipeline.c | 119 +++++++++++++-------- src/intel/vulkan_hasvk/anv_pipeline.c | 66 +++++++----- 36 files changed, 541 insertions(+), 465 deletions(-) Diff: http://cgit.freedesktop.org/mesa/mesa/diff/?id=3384f029be7e58b9c81b96c1a6250412acf41f6f
