AMD virtual texture uv interpolation fix

This commit is contained in:
Turánszki János
2023-10-03 08:42:26 +02:00
parent 0163ec64d4
commit 887ceea013
9 changed files with 19 additions and 19 deletions
+2 -2
View File
@@ -6,8 +6,8 @@ struct GSInput
{
float4 pos : SV_POSITION;
uint instanceIndex_dither : INSTANCEINDEX_DITHER;
float4 uvsets : UVSETS;
min16float4 color : COLOR;
min16float4 uvsets : UVSETS;
min16float4 tan : TANGENT;
min16float3 nor : NORMAL;
min16float2 atl : ATLAS;
@@ -19,8 +19,8 @@ struct GSOutput
{
float4 pos : SV_POSITION;
uint instanceIndex_dither : INSTANCEINDEX_DITHER;
float4 uvsets : UVSETS;
min16float4 color : COLOR;
min16float4 uvsets : UVSETS;
min16float4 tan : TANGENT;
min16float3 nor : NORMAL;
min16float2 atl : ATLAS;
@@ -7,7 +7,7 @@ struct GSInput
float clip : SV_ClipDistance0;
uint instanceIndex_dither : INSTANCEINDEX_DITHER;
#ifdef ALPHATEST
min16float4 uvsets : UVSETS;
float4 uvsets : UVSETS;
#endif // ALPHATEST
};
@@ -17,7 +17,7 @@ struct GSOutput
float clip : SV_ClipDistance0;
uint instanceIndex_dither : INSTANCEINDEX_DITHER;
#ifdef ALPHATEST
min16float4 uvsets : UVSETS;
float4 uvsets : UVSETS;
#endif // ALPHATEST
uint primitiveID : PRIMITIVEID;
};
+2 -2
View File
@@ -4,8 +4,8 @@
struct GSInput
{
float4 pos : SV_POSITION;
float4 uvsets : UVSETS;
min16float4 color : COLOR;
min16float4 uvsets : UVSETS;
min16float3 nor : NORMAL;
};
@@ -13,8 +13,8 @@ struct GSInput
struct GSOutput
{
float4 pos : SV_POSITION;
centroid float4 uvsets : UVSETS;
centroid min16float4 color : COLOR;
centroid min16float4 uvsets : UVSETS;
centroid min16float3 N : NORMAL;
centroid float3 P : POSITION3D;
+6 -6
View File
@@ -183,7 +183,7 @@ struct VertexInput
struct VertexSurface
{
float4 position;
min16float4 uvsets;
float4 uvsets;
min16float2 atlas;
min16float4 color;
min16float3 normal;
@@ -230,21 +230,21 @@ struct PixelInput
precise float4 pos : SV_POSITION;
#ifdef OBJECTSHADER_USE_CLIPPLANE
float clip : SV_ClipDistance0;
float clip : SV_ClipDistance0;
#endif // OBJECTSHADER_USE_CLIPPLANE
#if defined(OBJECTSHADER_USE_INSTANCEINDEX) || defined(OBJECTSHADER_USE_DITHERING)
uint instanceIndex_dither : INSTANCEINDEX_DITHER;
#endif // OBJECTSHADER_USE_INSTANCEINDEX || OBJECTSHADER_USE_DITHERING
#ifdef OBJECTSHADER_USE_UVSETS
float4 uvsets : UVSETS;
#endif // OBJECTSHADER_USE_UVSETS
#ifdef OBJECTSHADER_USE_COLOR
min16float4 color : COLOR;
#endif // OBJECTSHADER_USE_COLOR
#ifdef OBJECTSHADER_USE_UVSETS
min16float4 uvsets : UVSETS;
#endif // OBJECTSHADER_USE_UVSETS
#ifdef OBJECTSHADER_USE_TANGENT
min16float4 tan : TANGENT;
#endif // OBJECTSHADER_USE_TANGENT
+1 -1
View File
@@ -43,8 +43,8 @@ void VoxelAtomicAverage(inout RWTexture3D<uint> output, in uint3 dest, in float4
struct PSInput
{
float4 pos : SV_POSITION;
centroid float4 uvsets : UVSETS;
centroid min16float4 color : COLOR;
centroid min16float4 uvsets : UVSETS;
centroid min16float3 N : NORMAL;
centroid float3 P : POSITION3D;
+1 -1
View File
@@ -5,8 +5,8 @@
struct VSOut
{
float4 pos : SV_POSITION;
float4 uvsets : UVSETS;
min16float4 color : COLOR;
min16float4 uvsets : UVSETS;
min16float3 N : NORMAL;
#ifndef VOXELIZATION_GEOMETRY_SHADER_ENABLED
float3 P : POSITION3D;
@@ -5,14 +5,14 @@
struct GSInput
{
float4 pos : SV_POSITION;
min16float4 uvsets : UVSETS;
float4 uvsets : UVSETS;
uint VPIndex : VPINDEX;
};
struct GSOutput
{
float4 pos : SV_POSITION;
min16float4 uvsets : UVSETS;
float4 uvsets : UVSETS;
uint VPIndex : SV_ViewportArrayIndex;
};
@@ -5,16 +5,16 @@
struct GSInput
{
float4 pos : SV_POSITION;
float4 uvsets : UVSETS;
min16float4 color : COLOR;
min16float4 uvsets : UVSETS;
uint VPIndex : VPINDEX;
};
struct GSOutput
{
float4 pos : SV_POSITION;
float4 uvsets : UVSETS;
min16float4 color : COLOR;
min16float4 uvsets : UVSETS;
uint VPIndex : SV_ViewportArrayIndex;
};
+1 -1
View File
@@ -9,7 +9,7 @@ namespace wi::version
// minor features, major updates, breaking compatibility changes
const int minor = 71;
// minor bug fixes, alterations, refactors, updates
const int revision = 309;
const int revision = 310;
const std::string version_string = std::to_string(major) + "." + std::to_string(minor) + "." + std::to_string(revision);