From: Ilia Mirkin Date: Thu, 27 Dec 2018 01:01:28 +0000 (-0500) Subject: nvc0: enable GL_NV_shader_atomic_float on pre-Maxwell X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1d10bb202558829d8bd18e211fe91e42475e214c;p=mesa.git nvc0: enable GL_NV_shader_atomic_float on pre-Maxwell Signed-off-by: Ilia Mirkin --- diff --git a/docs/relnotes/19.0.0.html b/docs/relnotes/19.0.0.html index 04e06cdd758..4c831977258 100644 --- a/docs/relnotes/19.0.0.html +++ b/docs/relnotes/19.0.0.html @@ -46,6 +46,7 @@ TBD.
  • GL_EXT_render_snorm on gallium drivers (ES extension).
  • GL_EXT_texture_view on drivers supporting texture views (ES extension).
  • GL_OES_texture_view on drivers supporting texture views (ES extension).
  • +
  • GL_NV_shader_atomic_float on nvc0 (Fermi/Kepler only).
  • Bug fixes

    diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c index bd48f15063a..b68eddd1338 100644 --- a/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c +++ b/src/gallium/drivers/nouveau/nvc0/nvc0_screen.c @@ -275,6 +275,8 @@ nvc0_screen_get_param(struct pipe_screen *pscreen, enum pipe_cap param) case PIPE_CAP_TGSI_BALLOT: case PIPE_CAP_BINDLESS_TEXTURE: return class_3d >= NVE4_3D_CLASS; + case PIPE_CAP_TGSI_ATOMFADD: + return class_3d < GM107_3D_CLASS; /* needs additional lowering */ case PIPE_CAP_POLYGON_MODE_FILL_RECTANGLE: case PIPE_CAP_TGSI_VS_LAYER_VIEWPORT: case PIPE_CAP_TGSI_TES_LAYER_VIEWPORT: