intel: record size of incoming shader source
authorCourtney Goeltzenleuchter <courtney@LunarG.com>
Thu, 9 Oct 2014 15:30:32 +0000 (09:30 -0600)
committerCourtney Goeltzenleuchter <courtney@LunarG.com>
Fri, 31 Oct 2014 21:29:15 +0000 (15:29 -0600)
icd/intel/shader.c

index cb692ec..3ef204f 100644 (file)
@@ -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)