Set machine->Processor
The default value is 0, which is TGSI_PROCESSOR_FRAGMENT...not correct for a vertex shader!
This commit is contained in:
@@ -93,7 +93,8 @@ run_vertex_program(struct spu_vs_context *draw,
|
||||
|
||||
assert(count <= 4);
|
||||
|
||||
/* Consts does not require 16 byte alignment. */
|
||||
machine->Processor = TGSI_PROCESSOR_VERTEX;
|
||||
|
||||
ASSERT_ALIGN16(draw->constants);
|
||||
machine->Consts = (float (*)[4]) draw->constants;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user