Lines Matching defs:shader

68 /* L2 LRU is recommended because the compute shader can finish sooner due to fewer L2 evictions. */
78 * GFX10: This also invalidates the L1 shader array cache. */
81 * GFX10: This also invalidates the L1 shader array cache. */
203 /* Shader compiler options the shader cache should be aware of: */
213 /* Shader compiler options (with no effect on the shader cache): */
304 /* Bind masks for all 6 shader stages. */
310 #define SI_BIND_CONSTANT_BUFFER(shader) ((1 << (shader)) << SI_BIND_CONSTANT_BUFFER_SHIFT)
311 #define SI_BIND_SHADER_BUFFER(shader) ((1 << (shader)) << SI_BIND_SHADER_BUFFER_SHIFT)
312 #define SI_BIND_IMAGE_BUFFER(shader) ((1 << (shader)) << SI_BIND_IMAGE_BUFFER_SHIFT)
313 #define SI_BIND_SAMPLER_BUFFER(shader) ((1 << (shader)) << SI_BIND_SAMPLER_BUFFER_SHIFT)
356 * modified by a shader store instruction is about to be used as
670 * - The shader cache is per screen (= per process), never saved to
671 * disk, and skips redundant shader compilations from NIR to bytecode.
672 * - It can only be used with one-variant-per-shader support, in which
692 * the number of cores. We only need this many threads for shader-db. */
826 /* External state which comes from the vertex shader,
827 * it must be set explicitly when binding a shader. */
840 /* A shader state consists of the shader selector, which is a constant state
842 * the current shader variant selected for this context.
847 /* The shader variant key representing the current state. */
1061 } shader;
1069 /* shader information */
1083 /* shader descriptors */
1097 /* other shader resources */
1179 /* Local shader (VS), or HS if LS-HS are merged. */
1342 bool si_nir_is_output_const_if_tex_is_const(nir_shader *shader, float *in, float *out, int *texunit);
1407 void *shader, unsigned flags, enum si_coherency coher,
1743 return &sctx->shader.gs;
1745 return &sctx->shader.tes;
1747 return &sctx->shader.vs;
1752 return si_get_vs_inline(sctx, sctx->shader.tes.cso ? TESS_ON : TESS_OFF,
1753 sctx->shader.gs.cso ? GS_ON : GS_OFF);
1884 struct si_shader_selector *ps = sctx->shader.ps.cso;
1990 * - if shader resource "enabled_mask" is not up-to-date or there is
2007 pipe_draw_vbo_func draw_vbo = sctx->draw_vbo[!!sctx->shader.tes.cso]
2008 [!!sctx->shader.gs.cso]
2011 sctx->draw_vertex_state[!!sctx->shader.tes.cso]
2012 [!!sctx->shader.gs.cso]