Revert "Indicate texel buffer support in Vulkan"
This reverts commit 2dd222639d
.
Reason for revert: Programs test assertion failures
Original change's description:
> Indicate texel buffer support in Vulkan
>
> Bug: skia:
> Change-Id: I116dd2b15320e3a61afba82b003b13a14ce6122f
> Reviewed-on: https://skia-review.googlesource.com/21402
> Reviewed-by: Greg Daniel <egdaniel@google.com>
> Commit-Queue: Chris Dalton <csmartdalton@google.com>
TBR=egdaniel@google.com,csmartdalton@google.com
Change-Id: I41ee31624636c497125ff38bcb7ce0382d9f386b
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:
Reviewed-on: https://skia-review.googlesource.com/21582
Reviewed-by: Chris Dalton <csmartdalton@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
This commit is contained in:
parent
8b9566a257
commit
3a59665099
@ -227,6 +227,6 @@ bool GrVkBuffer::vkUpdateData(GrVkGpu* gpu, const void* src, size_t srcSizeInByt
|
||||
|
||||
void GrVkBuffer::validate() const {
|
||||
SkASSERT(!fResource || kVertex_Type == fDesc.fType || kIndex_Type == fDesc.fType
|
||||
|| kTexel_Type == fDesc.fType || kCopyRead_Type == fDesc.fType
|
||||
|| kCopyWrite_Type == fDesc.fType || kUniform_Type == fDesc.fType);
|
||||
|| kCopyRead_Type == fDesc.fType || kCopyWrite_Type == fDesc.fType
|
||||
|| kUniform_Type == fDesc.fType);
|
||||
}
|
||||
|
@ -248,8 +248,6 @@ void GrVkCaps::initShaderCaps(const VkPhysicalDeviceProperties& properties, uint
|
||||
}
|
||||
|
||||
shaderCaps->fIntegerSupport = true;
|
||||
shaderCaps->fTexelBufferSupport = true;
|
||||
shaderCaps->fTexelFetchSupport = true;
|
||||
shaderCaps->fVertexIDSupport = true;
|
||||
|
||||
// Assume the minimum precisions mandated by the SPIR-V spec.
|
||||
|
Loading…
Reference in New Issue
Block a user