Jump to content

  • Log In with Google      Sign In   
  • Create Account


kubera

Member Since 17 Feb 2012
Offline Last Active Yesterday, 11:02 AM

Topics I've Started

I am looking for a freeware licence

02 May 2012 - 03:43 AM

Hi!

Could someone answer my question, please?
Where could I find a licence for freeware
which would save me as an author and my software?
I am afraid of malware based on my software, reverse engineering, etc.
I am looking for something like GNU GPL but without the source code.

P. S.
My platform is Windows and application will be 100% free of charge.

Thank you very much.

A basic questions about shader resources (textures)

09 April 2012 - 08:06 AM

Hi!

Could someone answer a simple qestion, please?
I have a few shaders.
They are using the different count of shader resources.
Have I to set unused slots to NULL before rendering?

Example (pseudocode):

ShaderA uses textures X and Y.
ShaderB uses only one, Z:

Which option is more correct:
ShaderA:
PSSetShaderResources( { X, Y } )
ShaderB:
PSSetShaderResources( { Z, NULL } )

or
ShaderA:
PSSetShaderResources( { X, Y } )
ShaderB:
PSSetShaderResources( { Z } )

They work similarly, but which is better?
(more efficient, more safe, etc.)

Thank you very much.

PARTNERS