• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
« Previous 1 … 638 639 640 641 642 … 1204 Next »

Pixel Shader for TEV stages
View New Posts | View Today's Posts

Pages (2): 1 2 Next »
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Pixel Shader for TEV stages
02-20-2013, 07:46 AM
#1
Manuu75
Unregistered
 
Hello everybody, I really need your help
Let's first scuse me for my hypotetic bad english, I'm not english, so I'm sorry
I have search if there was similar topic on this forum but I have not found any topic of this kind.

I have uploaded Dolphin-v3.5-367. I have launched this software, all was good, as promise.
And then a message appeared : (I've add an attachment of a screenshot but I'm not sure it will appears so     )
   
"Failed to compile pixel shader !
This usually happens when trying to use Dolphin with an outdated GPU or integrated GPU lke the Intel GMA series
If you're sure this is Dolphin's error anyway, post the contents of C:\Users\Manu\Downloads\Dolphin-win-x86-v3.5-367/User/Dump/bad_ps_0000.txt along with this error message at the forums

Debug info (ps_3_0):
(16): error x4555:invalid type used for 'VPOS' input semantics"

What can I do for it ? I post you the contents of this files :

//Pixel Shader for TEV stages
//1 TEV stages, 0 texgens, XXX IND stages
uniform sampler2D samp0 : register(s0), samp1 : register(s1), samp2 : register(s2), samp3 : register(s3), samp4 : register(s4), samp5 : register(s5), samp6 : register(s6), samp7 : register(s7);

uniform float4 color[4] : register(c0);
uniform float4 k[4] : register(c4);
uniform float4 alphaRef[1] : register(c8);
uniform float4 texdim[8] : register(c9);
uniform float4 czbias[2] : register(c17);
uniform float4 cindscale[2] : register(c19);
uniform float4 cindmtx[6] : register(c21);
uniform float4 cfog[3] : register(c27);
void main(
out float4 ocol0 : COLOR0,
out float depth : DEPTH,
in float4 rawpos : VPOS,
in float4 colors_0 : COLOR0,
in float4 colors_1 : COLOR1,
in float4 clipPos : TEXCOORD0 ) {
float4 c0 = color[1], c1 = color[2], c2 = color[3], prev = float4(0.0f, 0.0f, 0.0f, 0.0f), textemp = float4(0.0f, 0.0f, 0.0f, 0.0f), rastemp = float4(0.0f, 0.0f, 0.0f, 0.0f), konsttemp = float4(0.0f, 0.0f, 0.0f, 0.0f);
float3 comp16 = float3(1.0f, 255.0f, 0.0f), comp24 = float3(1.0f, 255.0f, 255.0f*255.0f);
float4 alphabump=float4(0.0f,0.0f,0.0f,0.0f);
float3 tevcoord=float3(0.0f, 0.0f, 0.0f);
float2 wrappedcoord=float2(0.0f,0.0f), tempcoord=float2(0.0f,0.0f);
float4 cc0=float4(0.0f,0.0f,0.0f,0.0f), cc1=float4(0.0f,0.0f,0.0f,0.0f);
float4 cc2=float4(0.0f,0.0f,0.0f,0.0f), cprev=float4(0.0f,0.0f,0.0f,0.0f);
float4 crastemp=float4(0.0f,0.0f,0.0f,0.0f),ckonsttemp=float4(0.0f,0.0f,0.0f,0.0f);

clipPos = float4(rawpos.x, rawpos.y, clipPos.z, clipPos.w);
float3 uv0 = float3(0.0f, 0.0f, 0.0f);
// TEV stage 0
rastemp = colors_0.rgba;
crastemp = frac(rastemp * (255.0f/256.0f)) * (256.0f/255.0f);
textemp = float4(1.0f, 1.0f, 1.0f, 1.0f);
// color combine
prev.rgb = saturate((rastemp.rgb)+float3(0.0f, 0.0f, 0.0f));
// alpha combine
prev.a = saturate(rastemp.a+float4(0.0f, 0.0f, 0.0f, 0.0f).a);

// TEV done
float zCoord = czbias[1].x + (clipPos.z / clipPos.w) * czbias[1].y;
depth = zCoord;
ocol0 = prev;
}


That's all

Ok, I will now give you informations about my computer :
It's a HP Pavilion dv6 Notebook PC
operating system : 32 bits
Processor : Intel® Core™2 Duo CPU P8600 @2.40GHz
Memory : 4.00 Go




I'm full of hope. If anybody can help me, it will be really nice !!

Thank you for everything and bye Smile
Reply
02-20-2013, 07:49 AM
#2
Starscream Away
Above and Beyond
*******
Posts: 4,052
Threads: 213
Joined: Jun 2009
You didn't provide the most important information, like which GPU you're using.
Asus Laptop: K53TA
OS: Windows 7 Home Premium, 64-Bit - SP1
CPU: AMD Llano A6-3400M, Quad-Core, 1.4GHz-2.6GHz (Overclocked)
GPU: AMD Radeon HD6650M, 1GB GDDR3 (Catalyst 13.1)
RAM: Samsung 4GB DDR3-1333










Find
Reply
02-20-2013, 07:54 AM
#3
Manuu75
Unregistered
 
(02-20-2013, 07:49 AM)Starscream Wrote: You didn't provide the most important information, like which GPU you're using.
Oh, thank you to answer so much fast!
Of course I would like to tell you what's my GPU but I don't even know what a GPU is... Can you give me informations about that and say me where can I know which GPU I have?

Thanks
Reply
02-20-2013, 07:57 AM
#4
Shonumi Offline
Linux User/Tester
**********
Administrators
Posts: 6,526
Threads: 55
Joined: Dec 2011
Manuu75 Wrote:but I don't even know what a GPU is...

But... surely you've heard of Google, right?

Download a program called GPU-Z, run it, and it should tell you what GPU you have.
Website Find
Reply
02-20-2013, 08:12 AM (This post was last modified: 02-20-2013, 08:14 AM by neobrain.)
#5
neobrain Offline
"Wow, I made my code 1000x faster! That means I can make it 2048x slower now!"
**********
Developers (Some Administrators and Super Moderators)
Posts: 3,208
Threads: 50
Joined: Jun 2009
Just pushed a potential fix for this issue in the shader_vpos_fix branch. Could you test one of the builds of that branch and verify that stuff works fine now?

EDIT: Builds available:
x86 http://dl.dolphin-emu.org/builds/dolphin...415-x86.7z
x64 http://dl.dolphin-emu.org/builds/dolphin...415-x64.7z
My blog
Me on Twitter
My wishlist on Amazon.de
Find
Reply
02-20-2013, 08:18 AM
#6
Manuu75
Unregistered
 
(02-20-2013, 08:12 AM)neobrain Wrote: Just pushed a potential fix for this issue in the shader_vpos_fix branch. Could you test one of the builds of that branch and verify that stuff works fine now?

EDIT: Builds available:
x86 http://dl.dolphin-emu.org/builds/dolphin...415-x86.7z
x64 http://dl.dolphin-emu.org/builds/dolphin...415-x64.7z
Yes, I can do it now, but could you just specify me what I have to do?
You know I'm not English (but I can understand no worry) and not really good in informatic stuffs so I don't know how to do
Reply
02-20-2013, 08:31 AM
#7
neobrain Offline
"Wow, I made my code 1000x faster! That means I can make it 2048x slower now!"
**********
Developers (Some Administrators and Super Moderators)
Posts: 3,208
Threads: 50
Joined: Jun 2009
Download. Extract. Run. Complain if there are problems. Cheer if it works :p
My blog
Me on Twitter
My wishlist on Amazon.de
Find
Reply
02-20-2013, 09:17 AM
#8
Manuu75
Unregistered
 
Yeah, It seems to work !
I go to bed because in my country it's now midnight, I will say you tomorrow !

Anyway, thank you for your help Smile
Reply
02-20-2013, 04:58 PM
#9
lamedude Offline
Senior Member
****
Posts: 360
Threads: 7
Joined: Jan 2011
There are games that use TEV? I thought they were rarer than 360 games that use tessellation.
Website Find
Reply
02-20-2013, 05:38 PM (This post was last modified: 02-20-2013, 05:38 PM by delroth.)
#10
delroth Offline
Making the world a better place through reverse engineered DSP firmwares
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,354
Threads: 63
Joined: Aug 2011
All GC and Wii games use at least a TEV stage.
Pierre "delroth" Bourdon - @delroth_ - Blog

<@neobrain> that looks sophisticated enough to not be a totally dumb thing to do
Website Find
Reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma