projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
svga: fix TXD and TXL opcode translation
[mesa.git]
/
src
/
gallium
/
drivers
/
i915
/
i915_state_sampler.c
diff --git
a/src/gallium/drivers/i915/i915_state_sampler.c
b/src/gallium/drivers/i915/i915_state_sampler.c
index c5e9084d12e7072f4902164ff24001e73cad1649..e5c6d87215bb57723434fd05c3389fc71a00e81c 100644
(file)
--- a/
src/gallium/drivers/i915/i915_state_sampler.c
+++ b/
src/gallium/drivers/i915/i915_state_sampler.c
@@
-27,7
+27,6
@@
#include "pipe/p_context.h"
#include "pipe/p_state.h"
#include "pipe/p_context.h"
#include "pipe/p_state.h"
-#include "util/u_memory.h"
#include "i915_state_inlines.h"
#include "i915_context.h"
#include "i915_state_inlines.h"
#include "i915_context.h"
@@
-231,7
+230,7
@@
i915_update_texture(struct i915_context *i915,
{
const struct pipe_texture *pt = &tex->base;
uint format, pitch;
{
const struct pipe_texture *pt = &tex->base;
uint format, pitch;
- const uint width = pt->width
[0], height = pt->height[0], depth = pt->depth[0]
;
+ const uint width = pt->width
0, height = pt->height0, depth = pt->depth0
;
const uint num_levels = pt->last_level;
unsigned max_lod = num_levels * 4;
unsigned tiled = MS3_USE_FENCE_REGS;
const uint num_levels = pt->last_level;
unsigned max_lod = num_levels * 4;
unsigned tiled = MS3_USE_FENCE_REGS;