Searched refs:shader_size (Results 1 – 4 of 4) sorted by relevance
18 typedef size_t shader_size; typedef129 shader_size vertSize = *((shader_size*) ((char*) cached.data() + offset)); in loadShadersFromCache()130 offset += sizeof(shader_size); in loadShadersFromCache()138 shader_size fragSize = *((shader_size*) ((char*) cached.data() + offset)); in loadShadersFromCache()139 offset += sizeof(shader_size); in loadShadersFromCache()147 shader_size geomSize = *((shader_size*) ((char*) cached.data() + offset)); in loadShadersFromCache()148 offset += sizeof(shader_size); in loadShadersFromCache()194 size_t dataLength = (sizeof(shader_size) + sizeof(SkSL::Program::Inputs)) * 3 + vert.length() + in storeShadersInCache()200 *((shader_size*) (data.get() + offset)) = (shader_size) vert.length(); in storeShadersInCache()201 offset += sizeof(shader_size); in storeShadersInCache()[all …]
221 uint32_t shader_size; in vc5_get_compiled_shader() local231 &shader_size); in vc5_get_compiled_shader()240 &shader_size); in vc5_get_compiled_shader()248 shader->bo = vc5_bo_alloc(vc5->screen, shader_size, "shader"); in vc5_get_compiled_shader()250 memcpy(shader->bo->map, qpu_insts, shader_size); in vc5_get_compiled_shader()
1849 int len, shader_size = 0; in read_shader() local1870 shader_size = ftell(f); in read_shader()1872 assert(shader_size); in read_shader()1875 shader_size++; in read_shader()1877 buffer = malloc(shader_size); in read_shader()1880 len = fread(buffer, 1, shader_size, f); in read_shader()