Hi,
Getting proper SIN and COS wasn't as easy as it appeared. I had to make
make some changes to the fragment program code.
general FP changes:
- support HHH swizzle for vector instructions.
- don't copy a source to a temp when it is not XYZW swizzled, but
combine the two and have the swizzle r
note to self: don't post this late...
Rune Petersen wrote:
> Hi,
>
> Getting proper SIN and COS wasn't as easy as it appeared. I had to make
> make some changes to the fragment program code.
>
> general FP changes:
> - support HHH swizzle for vector instructions.
> - don't copy a source to a tem
On 2/10/07, Rune Petersen <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Getting proper SIN and COS wasn't as easy as it appeared. I had to make
> make some changes to the fragment program code.
>
> general FP changes:
> - support HHH swizzle for vector instructions.
> - don't copy a source to a temp when it
On 2/11/07, Jerome Glisse <[EMAIL PROTECTED]> wrote:
On 2/10/07, Rune Petersen <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Getting proper SIN and COS wasn't as easy as it appeared. I had to make
> make some changes to the fragment program code.
>
> general FP changes:
> - support HHH swizzle for vector
Jerome Glisse wrote:
> On 2/11/07, Jerome Glisse <[EMAIL PROTECTED]> wrote:
>> On 2/10/07, Rune Petersen <[EMAIL PROTECTED]> wrote:
>> > Hi,
>> >
>> > Getting proper SIN and COS wasn't as easy as it appeared. I had to make
>> > make some changes to the fragment program code.
>> >
>> > general FP ch
.
Rune Petersen wrote:
> Jerome Glisse wrote:
>> On 2/11/07, Jerome Glisse <[EMAIL PROTECTED]> wrote:
>>> On 2/10/07, Rune Petersen <[EMAIL PROTECTED]> wrote:
Hi,
Getting proper SIN and COS wasn't as easy as it appeared. I had to make
make some changes to the fragment progr
Rune Petersen wrote:
> .
>
> Rune Petersen wrote:
>> Jerome Glisse wrote:
>>> On 2/11/07, Jerome Glisse <[EMAIL PROTECTED]> wrote:
On 2/10/07, Rune Petersen <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Getting proper SIN and COS wasn't as easy as it appeared. I had to make
> make
On 2/11/07, Rune Petersen <[EMAIL PROTECTED]> wrote:
> Rune Petersen wrote:
> > .
> >
> > Rune Petersen wrote:
> >> Jerome Glisse wrote:
> >>> On 2/11/07, Jerome Glisse <[EMAIL PROTECTED]> wrote:
> On 2/10/07, Rune Petersen <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > Getting pro
>>
>> Rune Petersen
>>
>
> Ok commited.
I didn't look too closely at this but I've a couple of comments.
- COS looks too complicated & broken. If you'd want to get 2 with a
LOG2, you'd need 0.25 as source. But even using RCP instead, that's 5
instructions before performing the sine, for something
Roland Scheidegger wrote:
>>> Rune Petersen
>>>
>> Ok commited.
>
> I didn't look too closely at this but I've a couple of comments.
> - COS looks too complicated & broken. If you'd want to get 2 with a
> LOG2, you'd need 0.25 as source. But even using RCP instead, that's 5
> instructions before p
Roland Scheidegger wrote:
> Roland Scheidegger wrote:
Rune Petersen
>>> Ok commited.
>> I didn't look too closely at this but I've a couple of comments.
>> - COS looks too complicated & broken. If you'd want to get 2 with a
>> LOG2, you'd need 0.25 as source. But even using RCP instead, t
Roland Scheidegger wrote:
> Roland Scheidegger wrote:
Rune Petersen
>>> Ok commited.
>> I didn't look too closely at this but I've a couple of comments.
>> - COS looks too complicated & broken. If you'd want to get 2 with a
>> LOG2, you'd need 0.25 as source. But even using RCP instead, t
On 2/14/07, Rune Petersen <[EMAIL PROTECTED]> wrote:
> Roland Scheidegger wrote:
> > Roland Scheidegger wrote:
> Rune Petersen
>
> >>> Ok commited.
> >> I didn't look too closely at this but I've a couple of comments.
> >> - COS looks too complicated & broken. If you'd want to get 2 with
Rune Petersen wrote:
> This patch: - Fixes COS. - Does range reductions for SIN & COS. -
> Adds SCS. - removes the optimized version of SIN & COS. - tweaked
> weight (should help on precision). - fixed a copy paste typo in
> emit_arith().
>
> Roland would you mind testing if the tweaked weight hel
Jerome Glisse wrote:
> On 2/14/07, Rune Petersen <[EMAIL PROTECTED]> wrote:
>> Roland Scheidegger wrote:
>>> Roland Scheidegger wrote:
>> Rune Petersen
>>
> Ok commited.
I didn't look too closely at this but I've a couple of comments.
- COS looks too complicated & broken. If y
Roland Scheidegger wrote:
> Rune Petersen wrote:
>> This patch: - Fixes COS. - Does range reductions for SIN & COS. -
>> Adds SCS. - removes the optimized version of SIN & COS. - tweaked
>> weight (should help on precision). - fixed a copy paste typo in
>> emit_arith().
>>
>> Roland would you m
Roland Scheidegger wrote:
> Rune Petersen wrote:
>> This patch: - Fixes COS. - Does range reductions for SIN & COS. -
>> Adds SCS. - removes the optimized version of SIN & COS. - tweaked
>> weight (should help on precision). - fixed a copy paste typo in
>> emit_arith().
>>
>> Roland would you mind
Roland Scheidegger wrote:
> Roland Scheidegger wrote:
>> Rune Petersen wrote:
>>> This patch: - Fixes COS. - Does range reductions for SIN & COS. -
>>> Adds SCS. - removes the optimized version of SIN & COS. - tweaked
>>> weight (should help on precision). - fixed a copy paste typo in
>>> emit_a
Roland Scheidegger wrote:
> Roland Scheidegger wrote:
>> Rune Petersen wrote:
>> Also, the comments for SCS seem a bit off. That's a pity, because
>> without comments I can't really see what the code does at first sight
>> :-). Looks like quite a few extra instructions though, are you sure
>> not
19 matches
Mail list logo