On 22/03/07, Fabian Bieler der.fabe@gmx.net wrote:
shader_addline(arg->buffer, "T%u%s /= T%u%s;\n", sampler_idx, coord_mask, sampler_idx, coord_div_mask);
Are you sure that's correct? This will modify the coordinates for later instructions as well.
On Thursday 22 March 2007 20:34, H. Verbeet wrote:
On 22/03/07, Fabian Bieler der.fabe@gmx.net wrote:
shader_addline(arg->buffer, "T%u%s /= T%u%s;\n", sampler_idx,
coord_mask, sampler_idx, coord_div_mask);
Are you sure that's correct? This will modify the coordinates for later instructions as well.
The texbem instruction can only be used in pixel shaders up to version 1.3, so the data in the used texture coordinate register is overwritten with the texture color data anyhow.
On 22/03/07, Fabian Bieler der.fabe@gmx.net wrote:
Are you sure that's correct? This will modify the coordinates for later instructions as well.
The texbem instruction can only be used in pixel shaders up to version 1.3, so the data in the used texture coordinate register is overwritten with the texture color data anyhow.
Ah, right.