projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d5a6a1
)
st/mesa: expose GL_NV_shader_atomic_float when ATOMFADD is supported
author
Ilia Mirkin
<imirkin@alum.mit.edu>
Wed, 5 Dec 2018 05:22:40 +0000
(
00:22
-0500)
committer
Ilia Mirkin
<imirkin@alum.mit.edu>
Thu, 27 Dec 2018 01:04:57 +0000
(20:04 -0500)
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/st_extensions.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_extensions.c
b/src/mesa/state_tracker/st_extensions.c
index
8d936e4
..
931a264
100644
(file)
--- a/
src/mesa/state_tracker/st_extensions.c
+++ b/
src/mesa/state_tracker/st_extensions.c
@@
-761,6
+761,7
@@
void st_init_extensions(struct pipe_screen *screen,
{ o(NV_conditional_render), PIPE_CAP_CONDITIONAL_RENDER },
{ o(NV_fill_rectangle), PIPE_CAP_POLYGON_MODE_FILL_RECTANGLE },
{ o(NV_primitive_restart), PIPE_CAP_PRIMITIVE_RESTART },
+ { o(NV_shader_atomic_float), PIPE_CAP_TGSI_ATOMFADD },
{ o(NV_texture_barrier), PIPE_CAP_TEXTURE_BARRIER },
{ o(NVX_gpu_memory_info), PIPE_CAP_QUERY_MEMORY_INFO },
/* GL_NV_point_sprite is not supported by gallium because we don't