asahi: Advertise dual-source blending

This is handled entirely in common code.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21545>
This commit is contained in:
Alyssa Rosenzweig
2023-02-26 17:26:34 -05:00
committed by Marge Bot
parent af953616a1
commit f4e2b22646
3 changed files with 3 additions and 4 deletions

View File

@@ -99,7 +99,7 @@ GL 3.2, GLSL 1.50 --- all DONE: freedreno, i965, nv50, nvc0, r600, radeonsi, llv
GL 3.3, GLSL 3.30 --- all DONE: freedreno, i965, nv50, nvc0, r600, radeonsi, llvmpipe, softpipe, virgl, zink, d3d12 GL 3.3, GLSL 3.30 --- all DONE: freedreno, i965, nv50, nvc0, r600, radeonsi, llvmpipe, softpipe, virgl, zink, d3d12
GL_ARB_blend_func_extended DONE (freedreno/a3xx, freedreno/a6xx, panfrost, lima) GL_ARB_blend_func_extended DONE (freedreno/a3xx, freedreno/a6xx, panfrost, lima, asahi)
GL_ARB_explicit_attrib_location DONE (all drivers that support GLSL) GL_ARB_explicit_attrib_location DONE (all drivers that support GLSL)
GL_ARB_occlusion_query2 DONE (v3d, panfrost, asahi) GL_ARB_occlusion_query2 DONE (v3d, panfrost, asahi)
GL_ARB_sampler_objects DONE (all drivers) GL_ARB_sampler_objects DONE (all drivers)

View File

@@ -29,7 +29,7 @@ tib_filter(const nir_instr *instr, UNUSED const void *_)
return false; return false;
nir_io_semantics sem = nir_intrinsic_io_semantics(intr); nir_io_semantics sem = nir_intrinsic_io_semantics(intr);
assert(sem.dual_source_blend_index == 0 && "todo: dual source blending"); assert(sem.dual_source_blend_index == 0 && "dual source blending lowered");
return (sem.location >= FRAG_RESULT_DATA0); return (sem.location >= FRAG_RESULT_DATA0);
} }

View File

@@ -1243,9 +1243,8 @@ agx_get_param(struct pipe_screen *pscreen, enum pipe_cap param)
case PIPE_CAP_FBFETCH: case PIPE_CAP_FBFETCH:
case PIPE_CAP_FBFETCH_COHERENT: case PIPE_CAP_FBFETCH_COHERENT:
return 8; return 8;
case PIPE_CAP_MAX_DUAL_SOURCE_RENDER_TARGETS: case PIPE_CAP_MAX_DUAL_SOURCE_RENDER_TARGETS:
return 0; return 1;
case PIPE_CAP_OCCLUSION_QUERY: case PIPE_CAP_OCCLUSION_QUERY:
case PIPE_CAP_PRIMITIVE_RESTART: case PIPE_CAP_PRIMITIVE_RESTART: