Direct3D 8 - Pixel Shader - Other Instructions (Microsoft) (Source 2) 

Last edited 2026-01-27


This section contains reference information for the pixel shader version ps.1.x instructions.

There are several types of pixel shader instructions, as shown in the following table.


The meaning of colors in the Type column:

Color

Description

Green

The instruction works in Fusion.

Yellow

The instruction has not been confirmed to work in Fusion.

Red

The instruction does not work in Fusion.

Other instructions

Type

Instruction

Description

Instruction slots

ps.1.0

ps.1.1

ps.1.2

ps.1.3

ps.1.4

Note

asm

ps

Version number

0

Yes

Yes

Yes

Yes

Yes

Defines the pixel shader model used by the assembly program.
Must be the first instruction in the shader source code.

Created with the Personal Edition of HelpNDoc: Create iPhone web-based documentation