projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ilo: speed up ilo_shader_select_kernel_routing() a bit
[mesa.git]
/
src
/
gallium
/
drivers
/
ilo
/
ilo_resource.h
diff --git
a/src/gallium/drivers/ilo/ilo_resource.h
b/src/gallium/drivers/ilo/ilo_resource.h
index 124603c352356a63b71ab96a1c00f9bfcd5d7770..fd36242d798f55b691792b01d7f0d4049095d14c 100644
(file)
--- a/
src/gallium/drivers/ilo/ilo_resource.h
+++ b/
src/gallium/drivers/ilo/ilo_resource.h
@@
-78,6
+78,8
@@
struct ilo_texture {
unsigned x;
unsigned y;
} *slice_offsets[PIPE_MAX_TEXTURE_LEVELS];
unsigned x;
unsigned y;
} *slice_offsets[PIPE_MAX_TEXTURE_LEVELS];
+
+ struct ilo_texture *separate_s8;
};
static inline struct ilo_buffer *
};
static inline struct ilo_buffer *
@@
-105,7
+107,7
@@
ilo_texture_alloc_bo(struct ilo_texture *tex);
unsigned
ilo_texture_get_slice_offset(const struct ilo_texture *tex,
unsigned
ilo_texture_get_slice_offset(const struct ilo_texture *tex,
- int level, int slice,
bool tile_aligned,
+ int level, int slice,
unsigned *x_offset, unsigned *y_offset);
#endif /* ILO_RESOURCE_H */
unsigned *x_offset, unsigned *y_offset);
#endif /* ILO_RESOURCE_H */