Lines Matching defs:spirv
42 #include "compiler/spirv/nir_spirv.h"
1924 zink_shader_spirv_compile(struct zink_screen *screen, struct zink_shader *zs, struct spirv_shader *spirv)
1929 if (!spirv)
1930 spirv = zs->spirv;
1936 zink_shader_dump(spirv->words, spirv->num_words * sizeof(uint32_t), buf);
1940 smci.codeSize = spirv->num_words * sizeof(uint32_t);
1941 smci.pCode = spirv->words;
2008 nir_shader *nir = spirv_to_nir(spirv->words, spirv->num_words,
2143 /* old variable must be deleted to avoid spirv errors */
2179 struct spirv_shader *spirv = nir_to_spirv(nir, sinfo, screen->spirv_version);
2180 if (spirv)
2181 mod = zink_shader_spirv_compile(screen, zs, spirv);
2185 /* TODO: determine if there's any reason to cache spirv output? */
2187 zs->spirv = spirv;
2189 ralloc_free(spirv);
2434 * 2 components, which explodes spirv compilation even though it doesn't trigger validation errors
3287 ralloc_free(shader->spirv);
3297 zs->spirv->words[zs->spirv->tcs_vertices_out_word] = patch_vertices;