Lines Matching defs:slot
452 /* If there is only one slot enabled, bind it directly instead of
494 void si_get_pipe_constant_buffer(struct si_context *sctx, uint shader, uint slot,
502 void si_set_ring_buffer(struct si_context *sctx, uint slot, struct pipe_resource *buffer,
520 void si_set_internal_const_buffer(struct si_context *sctx, uint slot,
522 void si_set_internal_shader_buffer(struct si_context *sctx, uint slot,
628 static inline unsigned si_get_constbuf_slot(unsigned slot)
631 return SI_NUM_SHADER_BUFFERS + slot;
634 static inline unsigned si_get_shaderbuf_slot(unsigned slot)
637 return SI_NUM_SHADER_BUFFERS - 1 - slot;
640 static inline unsigned si_get_sampler_slot(unsigned slot)
642 /* 32 samplers are in sampler slots [16..47], 16 dw per slot, ascending */
643 /* those are equivalent to image slots [32..95], 8 dw per slot, ascending */
644 return SI_NUM_IMAGE_SLOTS / 2 + slot;
647 static inline unsigned si_get_image_slot(unsigned slot)
651 return SI_NUM_IMAGE_SLOTS - 1 - slot;