radv: add experimental support for AMD BC-250 board
AMD BC-250 is a mining board based on an AMD APU with an integrated GPU that kernel recognizes as Cyan Skillfish. It is basically RDNA1/GFX10, but with added hardware ray tracing support. LLVM calls it GFX1013, see https://llvm.org/docs/AMDGPU/AMDGPUAsmGFX1013.html Support for this GPU hasn't been extensively tested. Some games are known to work, some non-trivial ray query compute and ray tracing pipeline rendering works too. Q2RTX works. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33116>
This commit is contained in:
@@ -5910,7 +5910,7 @@ visit_bvh64_intersect_ray_amd(isel_context* ctx, nir_intrinsic_instr* instr)
|
||||
node, tmax, origin, dir, inv_dir,
|
||||
};
|
||||
|
||||
if (bld.program->gfx_level == GFX10_3) {
|
||||
if (bld.program->gfx_level == GFX10_3 || bld.program->family == CHIP_GFX1013) {
|
||||
std::vector<Temp> scalar_args;
|
||||
for (Temp tmp : args) {
|
||||
for (unsigned i = 0; i < tmp.size(); i++)
|
||||
|
||||
Reference in New Issue
Block a user