ac,aco: move gfx10 ngg prim count zero workaround to nir
To simplify both llvm and aco backend and remove unnecessary workaround code where prim count is known to be not zero. Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Signed-off-by: Qiang Yu <yuq825@gmail.com> Part-of: <mesa/mesa!22381>
Showing
- src/amd/common/ac_nir_lower_ngg.c 57 additions, 2 deletionssrc/amd/common/ac_nir_lower_ngg.c
- src/amd/compiler/aco_instruction_selection.cpp 12 additions, 66 deletionssrc/amd/compiler/aco_instruction_selection.cpp
- src/amd/llvm/ac_llvm_build.c 0 additions, 106 deletionssrc/amd/llvm/ac_llvm_build.c
- src/amd/llvm/ac_llvm_build.h 0 additions, 5 deletionssrc/amd/llvm/ac_llvm_build.h
- src/amd/llvm/ac_nir_to_llvm.c 14 additions, 6 deletionssrc/amd/llvm/ac_nir_to_llvm.c
Loading
Please register or sign in to comment