1 2#ifndef __NV50_STATEOBJ_TEX_H__ 3#define __NV50_STATEOBJ_TEX_H__ 4 5#include "pipe/p_state.h" 6 7struct nv50_tsc_entry { 8 int id; 9 uint32_t tsc[8]; 10}; 11 12static INLINE struct nv50_tsc_entry * 13nv50_tsc_entry(void *hwcso) 14{ 15 return (struct nv50_tsc_entry *)hwcso; 16} 17 18struct nv50_tic_entry { 19 struct pipe_sampler_view pipe; 20 int id; 21 uint32_t tic[8]; 22}; 23 24static INLINE struct nv50_tic_entry * 25nv50_tic_entry(struct pipe_sampler_view *view) 26{ 27 return (struct nv50_tic_entry *)view; 28} 29 30extern void * 31nv50_sampler_state_create(struct pipe_context *, 32 const struct pipe_sampler_state *); 33 34#endif /* __NV50_STATEOBJ_TEX_H__ */ 35