i965: Introduce a new SHADER_OPCODE_URB_READ_SIMD8 opcode.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 29 Sep 2015 21:32:02 +0000 (14:32 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 21 Oct 2015 21:27:46 +0000 (14:27 -0700)
commitac98888afdc121e6eaafc9c5393647a2df4baef6
tree180d105faf6ad922d5d41cac91266d7bd4360b43
parentbea75227829512ab0e4766e00ac1b509c7586667
i965: Introduce a new SHADER_OPCODE_URB_READ_SIMD8 opcode.

In scalar mode, geometry shader inputs can easily take up hundreds of
registers.  This makes pushing VUE entries impractical; we'll need to
resort to the pull model in some cases.

To support this, we introduce a new opcode corresponding to the "URB
Read SIMD8" message.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_generator.cpp
src/mesa/drivers/dri/i965/brw_shader.cpp