Lines Matching defs:shader
40 #define SI_NUM_SAMPLERS 32 /* OpenGL textures units per shader */
390 * 1 - vertex const and shader buffers
392 * 3 - fragment const and shader buffer
394 * 11 - compute const and shader buffers
413 static inline unsigned si_const_and_shader_buffer_descriptors_idx(unsigned shader)
415 return SI_DESCS_FIRST_SHADER + shader * SI_NUM_SHADER_DESCS +
419 static inline unsigned si_sampler_and_image_descriptors_idx(unsigned shader)
421 return SI_DESCS_FIRST_SHADER + shader * SI_NUM_SHADER_DESCS +
485 void si_get_inline_uniform_state(union si_shader_key *key, enum pipe_shader_type shader,
493 void si_invalidate_inlinable_uniforms(struct si_context *sctx, enum pipe_shader_type shader);
494 void si_get_pipe_constant_buffer(struct si_context *sctx, uint shader, uint slot,
496 void si_set_shader_buffers(struct pipe_context *ctx, enum pipe_shader_type shader,
500 void si_get_shader_buffers(struct si_context *sctx, enum pipe_shader_type shader, uint start_slot,
568 struct si_shader *shader);
570 struct si_shader *shader, bool insert_into_disk_cache);
571 bool si_shader_mem_ordered(struct si_shader *shader);
600 unsigned si_get_shader_prefetch_size(struct si_shader *shader);
636 /* shader buffers are in slots [31..0], descending */