projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adbbaae
)
st/mesa: only set prevInstWrotePsiz if translating a vertex program
author
Brian Paul
<brianp@vmware.com>
Mon, 10 May 2010 18:35:27 +0000
(12:35 -0600)
committer
Brian Paul
<brianp@vmware.com>
Mon, 10 May 2010 18:35:52 +0000
(12:35 -0600)
src/mesa/state_tracker/st_mesa_to_tgsi.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_mesa_to_tgsi.c
b/src/mesa/state_tracker/st_mesa_to_tgsi.c
index bda8267fac0bf9bd77c1d163dbeccb972620fd45..d7c280b21b3bc2f7b3a9bd26d900c0c19938b5b6 100644
(file)
--- a/
src/mesa/state_tracker/st_mesa_to_tgsi.c
+++ b/
src/mesa/state_tracker/st_mesa_to_tgsi.c
@@
-154,7
+154,7
@@
dst_register( struct st_translate *t,
return t->temps[index];
case PROGRAM_OUTPUT:
- if (index == VERT_RESULT_PSIZ)
+ if (
t->procType == TGSI_PROCESSOR_VERTEX &&
index == VERT_RESULT_PSIZ)
t->prevInstWrotePsiz = GL_TRUE;
if (t->procType == TGSI_PROCESSOR_VERTEX)