projects
/
platform
/
upstream
/
Vulkan-LoaderAndValidationLayers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54d02cb
)
intel: record size of incoming shader source
author
Courtney Goeltzenleuchter
<courtney@LunarG.com>
Thu, 9 Oct 2014 15:30:32 +0000
(09:30 -0600)
committer
Courtney Goeltzenleuchter
<courtney@LunarG.com>
Fri, 31 Oct 2014 21:29:15 +0000
(15:29 -0600)
icd/intel/shader.c
patch
|
blob
|
history
diff --git
a/icd/intel/shader.c
b/icd/intel/shader.c
index
cb692ec
..
3ef204f
100644
(file)
--- a/
icd/intel/shader.c
+++ b/
icd/intel/shader.c
@@
-41,6
+41,8
@@
static XGL_RESULT shader_parse_glsl(struct intel_shader *sh,
if (!ir)
return XGL_ERROR_OUT_OF_MEMORY;
+ ir->size = size;
+
// invoke our program creation as well
ir->shader_program = shader_create_program(sh, glsl_header);
if (!ir->shader_program)