- 13 May, 2009 40 commits
-
-
Aric Stewart authored
-
Aric Stewart authored
-
Hans Leidekker authored
-
Hans Leidekker authored
-
Stefan Dösinger authored
-
Stefan Dösinger authored
-
Stefan Dösinger authored
ps_1_3 uses Tx to pass in texture coordinates, but also as temporary registers. ps_1_4 and ps_2_0 only use them for texture coordinates. This patch gets rid of the Tx = fragment.texcoord[x] assign in all shader versions, and doesn't even declare Tx in ps_1_4 and ps_2_0. The <=ps_1_3 instructions know which kind of input they expect from the Tx register, so the instruction handlers now know if they have to read the tempreg Tx or the varying fragment.texcoord[x].
-
Stefan Dösinger authored
shader_arb_add_src_param handled DW and TXP undid it again. Remove DZ DW from the modifiers and handle it in the instruction. DZ cannot be handled by TXP as is, so move the .z component to .w and make it DW-like. Using SZW+TXP is likely more efficient than the RCP, MUL, TEX we'd get if we let shader_arb_add_src_param do the job.
-
Stefan Dösinger authored
Fix the indentation and replace the get_register_name with shader_arb_get_dst_param.
-
Francois Gouget authored
-
Francois Gouget authored
-
Francois Gouget authored
-
Francois Gouget authored
-
Francois Gouget authored
-
Francois Gouget authored
-
Francois Gouget authored
-
Francois Gouget authored
-
Francois Gouget authored
-
Francois Gouget authored
-
Francois Gouget authored
-
Francois Gouget authored
-
Francois Gouget authored
-
Francois Gouget authored
-
Francois Gouget authored
-
Hans Leidekker authored
-
Hans Leidekker authored
-
Paul Vriens authored
-
Paul Vriens authored
-
Paul Vriens authored
-
Nikolay Sivov authored
-
Nikolay Sivov authored
-
Anders Jonsson authored
-
Anders Jonsson authored
-
Anders Jonsson authored
-
Damjan Jovanovic authored
-
Juan Lang authored
-
Henri Verbeet authored
-
Henri Verbeet authored
-
Henri Verbeet authored
-
Henri Verbeet authored
-