projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33931e4
)
glsl: make sampler/image scalar types
author
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Wed, 26 Apr 2017 14:02:32 +0000
(16:02 +0200)
committer
Samuel Pitoiset
<samuel.pitoiset@gmail.com>
Sat, 6 May 2017 14:40:19 +0000
(16:40 +0200)
As a side effect, this will magically fix std140/std430 interfaces
for bindless samplers/images and will help for implementing the
explicit conversions with constructors.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/compiler/glsl_types.h
patch
|
blob
|
history
diff --git
a/src/compiler/glsl_types.h
b/src/compiler/glsl_types.h
index a81b8fe7dc2c168312480bcc2b03292bc9c17e04..04490872385303c420750859de6c5c7382f71464 100644
(file)
--- a/
src/compiler/glsl_types.h
+++ b/
src/compiler/glsl_types.h
@@
-441,7
+441,7
@@
struct glsl_type {
{
return (vector_elements == 1)
&& (base_type >= GLSL_TYPE_UINT)
- && (base_type <= GLSL_TYPE_
BOOL
);
+ && (base_type <= GLSL_TYPE_
IMAGE
);
}
/**