projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79dcd69
)
st/mesa: don't dirty sample shading on _NEW_PROGRAM
author
Marek Olšák
<marek.olsak@amd.com>
Sun, 17 Jul 2016 18:59:42 +0000
(20:59 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Sat, 30 Jul 2016 13:02:14 +0000
(15:02 +0200)
Already done as part of ST_NEW_FRAGMENT_PROGRAM in st_validate_state.
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/state_tracker/st_context.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_context.c
b/src/mesa/state_tracker/st_context.c
index 2ba6efe76445d1f81e5367121757796fbe62bf4c..e4dd6fa897ceb332027a8f98ac7a6932fb0a4be1 100644
(file)
--- a/
src/mesa/state_tracker/st_context.c
+++ b/
src/mesa/state_tracker/st_context.c
@@
-150,8
+150,7
@@
void st_invalidate_state(struct gl_context * ctx, GLbitfield new_state)
st->dirty |= ST_NEW_DSA;
if (new_state & _NEW_PROGRAM)
- st->dirty |= ST_NEW_SAMPLE_SHADING |
- ST_NEW_RASTERIZER;
+ st->dirty |= ST_NEW_RASTERIZER;
if (new_state & _NEW_SCISSOR)
st->dirty |= ST_NEW_RASTERIZER |