projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19e0dd1
)
mesa: add gl_constants::SpirVCapabilities
author
Nicolai Hähnle
<nicolai.haehnle@amd.com>
Sat, 10 Jun 2017 19:35:26 +0000
(21:35 +0200)
committer
Alejandro Piñeiro
<apinheiro@igalia.com>
Fri, 30 Mar 2018 07:14:56 +0000
(09:14 +0200)
For drivers to declare which SPIR-V features they support.
v2: Don't use a pointer (Ian Romanick)
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/main/mtypes.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/mtypes.h
b/src/mesa/main/mtypes.h
index 08db8062ec8e628ea244f618bd5d9b0a4c74f69e..9ded02500d8471814460b7ef3aea17bde649e68d 100644
(file)
--- a/
src/mesa/main/mtypes.h
+++ b/
src/mesa/main/mtypes.h
@@
-4135,6
+4135,9
@@
struct gl_constants
/** Is the drivers uniform storage packed or padded to 16 bytes. */
bool PackedDriverUniformStorage;
+
+ /** GL_ARB_gl_spirv */
+ struct spirv_supported_capabilities SpirVCapabilities;
};