Re: R300 pixel shader

2005-03-26 Thread Ben Skeggs
I've been doing quite a bit of work towards getting rid of the EASY_PFS_INSTR and co. macros. My aim is to have a function similar to i915's i915_emit_arith, that will handle swizzling/negation transparently. If all goes to plan, I should have something that works okay in the next couple of

[R300] pixel shader

2004-09-18 Thread Vladimir Dergachev
Hi Nicolai, I committed a modification of pretty_print_command_stream.tcl that decodes most of PFS_INSTR* registers. It still prints the actual value written - as a last value after equals sign. So, I am hoping that even if this messed up your disassembler it is easy to fix - I am not that

Re: [R300] pixel shader

2004-09-18 Thread Nicolai Haehnle
On Sunday 19 September 2004 03:53, Vladimir Dergachev wrote: Hi Nicolai, I committed a modification of pretty_print_command_stream.tcl that decodes most of PFS_INSTR* registers. It still prints the actual value written - as a last value after equals sign. So, I am hoping that

Re: [R300] pixel shader

2004-09-18 Thread Vladimir Dergachev
Lastly, I think it would be useful to have an assembler for vertex shaders and pixel shaders that does the job similar to those DirectX functions that translate textual description into coded on (I also believe that OpenGL 2.0 should have something like this as well). Doesn't Mesa already