projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nvfx: new 2D: use new 2D engine in Gallium
[mesa.git]
/
src
/
gallium
/
drivers
/
nvfx
/
nvfx_resource.h
diff --git
a/src/gallium/drivers/nvfx/nvfx_resource.h
b/src/gallium/drivers/nvfx/nvfx_resource.h
index 0e24ec2f1f9898edb9e417552b9b40e58bf9f22d..42d04ebb370e29ca90cb6e0e4f3285a5c1981e4c 100644
(file)
--- a/
src/gallium/drivers/nvfx/nvfx_resource.h
+++ b/
src/gallium/drivers/nvfx/nvfx_resource.h
@@
-46,6
+46,11
@@
struct nvfx_miptree {
unsigned level_offset[NVFX_MAX_TEXTURE_LEVELS];
};
+struct nvfx_surface {
+ struct pipe_surface base;
+ unsigned pitch;
+};
+
static INLINE
struct nvfx_resource *nvfx_resource(struct pipe_resource *resource)
{