radeonsi: enable ARB_shader_ballot
Require LLVM 5.0 or later because LLVM 4.0 is easily fooled into putting the lane select of llvm.amdgcn.readlane into a VGPR and then fails to continue to compile. Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
8b13b11f11
commit
9e1b2e4d97
|
@ -292,7 +292,7 @@ Khronos, ARB, and OES extensions that are not part of any OpenGL or OpenGL ES ve
|
||||||
GL_ARB_sample_locations not started
|
GL_ARB_sample_locations not started
|
||||||
GL_ARB_seamless_cubemap_per_texture DONE (i965, nvc0, radeonsi, r600, softpipe, swr)
|
GL_ARB_seamless_cubemap_per_texture DONE (i965, nvc0, radeonsi, r600, softpipe, swr)
|
||||||
GL_ARB_shader_atomic_counter_ops DONE (i965/gen7+, nvc0, radeonsi, softpipe)
|
GL_ARB_shader_atomic_counter_ops DONE (i965/gen7+, nvc0, radeonsi, softpipe)
|
||||||
GL_ARB_shader_ballot not started
|
GL_ARB_shader_ballot DONE (radeonsi)
|
||||||
GL_ARB_shader_clock DONE (i965/gen7+, radeonsi)
|
GL_ARB_shader_clock DONE (i965/gen7+, radeonsi)
|
||||||
GL_ARB_shader_draw_parameters DONE (i965, nvc0, radeonsi)
|
GL_ARB_shader_draw_parameters DONE (i965, nvc0, radeonsi)
|
||||||
GL_ARB_shader_group_vote DONE (nvc0, radeonsi)
|
GL_ARB_shader_group_vote DONE (nvc0, radeonsi)
|
||||||
|
|
|
@ -45,6 +45,7 @@ Note: some of the new features are only available with certain drivers.
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>GL_ARB_gpu_shader_int64 on i965/gen8+, nvc0, radeonsi, softpipe, llvmpipe</li>
|
<li>GL_ARB_gpu_shader_int64 on i965/gen8+, nvc0, radeonsi, softpipe, llvmpipe</li>
|
||||||
|
<li>GL_ARB_shader_ballot on radeonsi</li>
|
||||||
<li>GL_ARB_shader_clock on radeonsi</li>
|
<li>GL_ARB_shader_clock on radeonsi</li>
|
||||||
<li>GL_ARB_shader_group_vote on radeonsi</li>
|
<li>GL_ARB_shader_group_vote on radeonsi</li>
|
||||||
<li>GL_ARB_sparse_buffer on radeonsi/CIK+</li>
|
<li>GL_ARB_sparse_buffer on radeonsi/CIK+</li>
|
||||||
|
|
|
@ -431,6 +431,9 @@ static int si_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
|
||||||
case PIPE_CAP_TGSI_VOTE:
|
case PIPE_CAP_TGSI_VOTE:
|
||||||
return HAVE_LLVM >= 0x0400;
|
return HAVE_LLVM >= 0x0400;
|
||||||
|
|
||||||
|
case PIPE_CAP_TGSI_BALLOT:
|
||||||
|
return HAVE_LLVM >= 0x0500;
|
||||||
|
|
||||||
case PIPE_CAP_RESOURCE_FROM_USER_MEMORY:
|
case PIPE_CAP_RESOURCE_FROM_USER_MEMORY:
|
||||||
return !SI_BIG_ENDIAN && sscreen->b.info.has_userptr;
|
return !SI_BIG_ENDIAN && sscreen->b.info.has_userptr;
|
||||||
|
|
||||||
|
@ -503,7 +506,6 @@ static int si_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
|
||||||
case PIPE_CAP_TGSI_MUL_ZERO_WINS:
|
case PIPE_CAP_TGSI_MUL_ZERO_WINS:
|
||||||
case PIPE_CAP_UMA:
|
case PIPE_CAP_UMA:
|
||||||
case PIPE_CAP_POLYGON_MODE_FILL_RECTANGLE:
|
case PIPE_CAP_POLYGON_MODE_FILL_RECTANGLE:
|
||||||
case PIPE_CAP_TGSI_BALLOT:
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
case PIPE_CAP_QUERY_BUFFER_OBJECT:
|
case PIPE_CAP_QUERY_BUFFER_OBJECT:
|
||||||
|
|
Loading…
Reference in New Issue