enumerazione D3D12_SHADER_MIN_PRECISION_SUPPORT (d3d12.h)

Descrive le opzioni di supporto di precisione minime per gli shader nel driver grafico corrente.

Sintassi

typedef enum D3D12_SHADER_MIN_PRECISION_SUPPORT {
  D3D12_SHADER_MIN_PRECISION_SUPPORT_NONE = 0,
  D3D12_SHADER_MIN_PRECISION_SUPPORT_10_BIT = 0x1,
  D3D12_SHADER_MIN_PRECISION_SUPPORT_16_BIT = 0x2
} ;

Costanti

 
D3D12_SHADER_MIN_PRECISION_SUPPORT_NONE
Valore: 0
Il driver supporta solo la precisione a 32 bit completa per tutte le fasi dello shader.
D3D12_SHADER_MIN_PRECISION_SUPPORT_10_BIT
Valore: 0x1
Il driver supporta la precisione a 10 bit.
D3D12_SHADER_MIN_PRECISION_SUPPORT_16_BIT
Valore: 0x2
Il driver supporta la precisione a 16 bit.

Commenti

Questa enumerazione viene usata dalla struttura D3D12_FEATURE_DATA_D3D12_OPTIONS .

Le informazioni restituite indicano solo che l'hardware grafico può eseguire operazioni HLSL a una precisione inferiore rispetto alla precisione float standard a 32 bit, ma non garantisce che l'hardware grafico venga effettivamente eseguito con una precisione inferiore.

Requisiti

Requisito Valore
Intestazione d3d12.h

Vedi anche

Enumerazioni principali