mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-30 11:52:11 +01:00
[dxbc,d3d11] Minor fixes
This commit is contained in:
parent
75152ae16f
commit
6dfe09da7b
@ -1458,7 +1458,7 @@ namespace dxvk {
|
||||
image, value, subresources);
|
||||
} else {
|
||||
VkClearDepthStencilValue value;
|
||||
value.depth = 0.0f;
|
||||
value.depth = 1.0f;
|
||||
value.stencil = 0;
|
||||
|
||||
m_resourceInitContext->clearDepthStencilImage(
|
||||
|
@ -2313,8 +2313,9 @@ namespace dxvk {
|
||||
|
||||
// Sample operation with explicit LOD
|
||||
case DxbcOpcode::SampleL: {
|
||||
|
||||
imageOperands.flags |= spv::ImageOperandsLodMask;
|
||||
imageOperands.sLod = m_module.constf32(explicitLod.id);
|
||||
imageOperands.sLod = explicitLod.id;
|
||||
|
||||
result.id = m_module.opImageSampleExplicitLod(
|
||||
getVectorTypeId(result.type), sampledImageId, coord.id,
|
||||
|
@ -212,7 +212,7 @@ namespace dxvk {
|
||||
/* Ld */
|
||||
{ 3, DxbcInstClass::TextureFetch, {
|
||||
{ DxbcOperandKind::DstReg, DxbcScalarType::Float32 },
|
||||
{ DxbcOperandKind::SrcReg, DxbcScalarType::Uint32 },
|
||||
{ DxbcOperandKind::SrcReg, DxbcScalarType::Sint32 },
|
||||
{ DxbcOperandKind::SrcReg, DxbcScalarType::Float32 },
|
||||
} },
|
||||
/* LdMs */
|
||||
|
Loading…
x
Reference in New Issue
Block a user