mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-29 22:30:24 +01:00
need a softpipe func for texture layout
This commit is contained in:
parent
6da9234fd4
commit
07633371ff
2 changed files with 29 additions and 0 deletions
13
src/mesa/pipe/softpipe/sp_tex_layout.c
Normal file
13
src/mesa/pipe/softpipe/sp_tex_layout.c
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
|
||||
#include "pipe/p_state.h"
|
||||
#include "sp_tex_layout.h"
|
||||
|
||||
|
||||
GLboolean
|
||||
softpipe_mipmap_tree_layout(struct pipe_context *pipe,
|
||||
struct pipe_mipmap_tree *mt)
|
||||
{
|
||||
return GL_TRUE;
|
||||
}
|
||||
|
||||
|
||||
16
src/mesa/pipe/softpipe/sp_tex_layout.h
Normal file
16
src/mesa/pipe/softpipe/sp_tex_layout.h
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#ifndef SP_TEX_LAYOUT_H
|
||||
#define SP_TEX_LAYOUT_H
|
||||
|
||||
|
||||
struct pipe_context;
|
||||
struct pipe_mipmap_tree;
|
||||
|
||||
|
||||
extern GLboolean
|
||||
softpipe_mipmap_tree_layout(struct pipe_context *pipe,
|
||||
struct pipe_mipmap_tree *mt);
|
||||
|
||||
|
||||
#endif /* SP_TEX_LAYOUT_H */
|
||||
|
||||
|
||||
Loading…
Add table
Reference in a new issue