Commit 7179935f by Nicolas Capens Committed by Nicolas Capens

Removed unused texture data

Bug: b/129523279 Change-Id: Ifdb1409cf7339ac16b6fe890bc014a2e43801c76 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/30431 Presubmit-Ready: Nicolas Capens <nicolascapens@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com> Tested-by: 's avatarNicolas Capens <nicolascapens@google.com> Reviewed-by: 's avatarChris Forbes <chrisforbes@google.com>
parent 4b206fa3
......@@ -77,9 +77,6 @@ namespace sw
{
OUTLINE_RESOLUTION = 8192, // Maximum vertical resolution of the render target
MIPMAP_LEVELS = 14,
TEXTURE_IMAGE_UNITS = 16,
VERTEX_TEXTURE_IMAGE_UNITS = 16,
TOTAL_IMAGE_UNITS = TEXTURE_IMAGE_UNITS + VERTEX_TEXTURE_IMAGE_UNITS,
FRAGMENT_UNIFORM_VECTORS = 264,
VERTEX_UNIFORM_VECTORS = 259,
MAX_VERTEX_INPUTS = 32,
......
......@@ -64,8 +64,6 @@ namespace sw
bool centroid;
bool frontFaceCCW;
VkFormat depthFormat;
Sampler sampler[TEXTURE_IMAGE_UNITS];
};
struct State : States
......
......@@ -92,7 +92,6 @@ namespace sw
const void *input[MAX_VERTEX_INPUTS];
unsigned int stride[MAX_VERTEX_INPUTS];
Texture mipmap[TOTAL_IMAGE_UNITS];
const void *indices;
int instanceID;
......
......@@ -148,7 +148,6 @@ namespace sw
AddressingMode addressingModeV;
AddressingMode addressingModeW;
MipmapType mipmapFilter;
bool sRGB;
VkComponentMapping swizzle;
bool highPrecisionFiltering;
CompareFunc compare;
......
......@@ -53,8 +53,6 @@ namespace sw
bool textureSampling : 1; // TODO: Eliminate by querying shader.
unsigned char verticesPerPrimitive : 2; // 1 (points), 2 (lines) or 3 (triangles)
Sampler sampler[VERTEX_TEXTURE_IMAGE_UNITS];
struct Input
{
operator bool() const // Returns true if stream contains data
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment