projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df6ae3f
)
i965: sampler default color ends up in texture cache, not instructions.
author
Eric Anholt
<eric@anholt.net>
Wed, 1 Oct 2008 23:58:38 +0000
(16:58 -0700)
committer
Eric Anholt
<eric@anholt.net>
Wed, 1 Oct 2008 23:59:16 +0000
(16:59 -0700)
See volume 4, SAMPLER_BORDER_COLOR_STATE programming notes.
src/mesa/drivers/dri/i965/brw_wm_sampler_state.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_wm_sampler_state.c
b/src/mesa/drivers/dri/i965/brw_wm_sampler_state.c
index e1db31ec08cae71e2964f5b98eb5952781b24721..977b90ad43e867344f4eb6b66c4811331eabdedb 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_wm_sampler_state.c
+++ b/
src/mesa/drivers/dri/i965/brw_wm_sampler_state.c
@@
-304,7
+304,7
@@
static void upload_wm_samplers( struct brw_context *brw )
continue;
dri_bo_emit_reloc(brw->wm.sampler_bo,
- I915_GEM_DOMAIN_
INSTRUCTION
, 0,
+ I915_GEM_DOMAIN_
SAMPLER
, 0,
0,
i * sizeof(struct brw_sampler_state) +
offsetof(struct brw_sampler_state, ss2),