2 #ifndef __NV50_STATEOBJ_TEX_H__
3 #define __NV50_STATEOBJ_TEX_H__
5 #include "pipe/p_state.h"
7 struct nv50_tsc_entry
{
12 static INLINE
struct nv50_tsc_entry
*
13 nv50_tsc_entry(void *hwcso
)
15 return (struct nv50_tsc_entry
*)hwcso
;
18 struct nv50_tic_entry
{
19 struct pipe_sampler_view pipe
;
24 static INLINE
struct nv50_tic_entry
*
25 nv50_tic_entry(struct pipe_sampler_view
*view
)
27 return (struct nv50_tic_entry
*)view
;
31 nv50_sampler_state_create(struct pipe_context
*,
32 const struct pipe_sampler_state
*);
34 #endif /* __NV50_STATEOBJ_TEX_H__ */