Jump to content

  • Log In with Google      Sign In   
  • Create Account

Nik02

Member Since 18 Dec 2002
Offline Last Active Today, 12:10 PM

Posts I've Made

In Topic: what's the principle behind the shader debugger?

Today, 12:11 PM

Yea, but that is a very difficult and lengthy project.

In Topic: what's the principle behind the shader debugger?

Yesterday, 12:40 PM

PIX works by running the shaders in software (reference device) when you break (pause) the execution.

 

Vendor-specific debuggers could break execution in actual hardware, and copy the shader stack and registers to CPU-accessible memory for the debugger to access.


In Topic: dynamic branching in GPU

16 October 2014 - 01:07 PM

The last time I had some info on this (it's been a while), the issue was that since a group of computing units run in lockstep (essentially same instruction pointer across all of them at any one time), all of the computing units in a given group have to effectively execute both sides of each branch even though the results would be discarded (by disabling memory loads and stores) on some of them.

 

In addition, if branching depends on external non-constant input (like a texture value, or an input primitive value) and determines - for example - a texture sampling position, it is impossible to predict subsequent memory accesses and thus texture caching may cease to be effective.

 

There are surely more reasons than mentioned herein, but these are from the top of my head.

 

It is possible that newer hardware has some smart workarounds for these issues.


In Topic: Issue after converting D3D8 to D3D9

14 October 2014 - 08:27 AM

I agree with Buckeye.

 

That said, the artifacts give the impression that the texture used as the mixing coefficient between the ground and the vegetation uses nearest-point filtering for magnification, while it (presumably) should use bilinear.


In Topic: Download a file from an FTP server

14 October 2014 - 07:56 AM

I still think that the error is caused by an invalid local path, not the ftp aspect (assuming that you have the correct port).

 

Remember that if you define string literals in code, you have to escape the backslashes; but if you take them in from the command line, escaping is not required.

 

Some old libraries may not recognize forward slashes as directory separators, so for safety, you should use backslashes anyway.

 

If you're on Windows 7 or later, your Documents folder is, by default, at c:\users\yourusername\documents (replace yourusername with your actual login name). Your user profile should be write-accessible to yourself in any case, so writing the file there should work.


PARTNERS