mojoshader_opengl.c
changeset 806 facbf9d3f1ce
parent 798 5dd67cc04cf9
child 807 138d76f766d1
equal deleted inserted replaced
805:49320a1f5e90 806:facbf9d3f1ce
   117     MOJOSHADER_malloc malloc_fn;
   117     MOJOSHADER_malloc malloc_fn;
   118     MOJOSHADER_free free_fn;
   118     MOJOSHADER_free free_fn;
   119     void *malloc_data;
   119     void *malloc_data;
   120 
   120 
   121     // The constant register files...
   121     // The constant register files...
   122     // Man, it kills me how much memory this takes...
   122     // !!! FIXME: Man, it kills me how much memory this takes...
       
   123     // !!! FIXME:  ... make this dynamically allocated on demand.
   123     GLfloat vs_reg_file_f[MAX_REG_FILE_F * 4];
   124     GLfloat vs_reg_file_f[MAX_REG_FILE_F * 4];
   124     GLint vs_reg_file_i[MAX_REG_FILE_I * 4];
   125     GLint vs_reg_file_i[MAX_REG_FILE_I * 4];
   125     uint8 vs_reg_file_b[MAX_REG_FILE_B];
   126     uint8 vs_reg_file_b[MAX_REG_FILE_B];
   126     GLfloat ps_reg_file_f[MAX_REG_FILE_F * 4];
   127     GLfloat ps_reg_file_f[MAX_REG_FILE_F * 4];
   127     GLint ps_reg_file_i[MAX_REG_FILE_I * 4];
   128     GLint ps_reg_file_i[MAX_REG_FILE_I * 4];